Problem/Motivation

Hi, where do you click to show the options to create multiple? I cannot find it in Elements. Thanks!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

j9 created an issue. See original summary.

facine made their first commit to this issue’s fork.

  • facine committed 3a9538ab on 1.x
    feat: #3401650 Where to access this feature?
    

facine’s picture

Status: Active » Fixed

Hi, 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!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.