Closed (fixed)
Project:
Element Multiple
Version:
1.0.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2023 at 18:53 UTC
Updated:
7 Apr 2026 at 09:45 UTC
Jump to comment: Most recent
Comments
Comment #5
facine commentedHi, thanks for reaching out and for taking the time to file this issue!
Element Multiple is a developer/API module, it provides a form element type (
#type => 'element_multiple') that module developers can use in their custom code to build multi-value form widgets with table layout, drag-and-drop sorting, and AJAX add/remove buttons.It does not add any admin UI or clickable interface on its own. To use it, you would write PHP code in a custom module for example, in a form builder method or a
hook_form_alter()implementation. You can find usage examples in the module's README.If you're looking for a way to create multi-value fields through the admin UI without writing code, here are some alternatives:
- Drupal's built-in Field system: When adding fields to content types (at
/admin/structure/types), you can set the "Number of values" to "Unlimited" to get a multi-value field widget out of the box.- Webform module: Provides a complete form-building UI where you can create multi-value elements visually.
I've also updated the README to make the module's purpose and target audience clearer for future visitors. The merge request contains only documentation changes, no code or behavioral changes.
Hope this helps, and thanks again for helping us improve the documentation!