Add multiple items at once

Created on 4 January 2012, almost 13 years ago
Updated 25 April 2023, over 1 year ago

There is a "Add another item" bottom below the field collection embedded widget. To add multiple items you have to hit the button again and again. Would it be possible to

a) add an option in the settings of the field collection to not only add one item but to specify a number to add with one click,

or

b) show a field near the button where the user can enter a number of items to add and then click the button

?

Feature request
Status

Active

Version

10.1

Component
Field 

Last updated 2 days ago

Created by

🇩🇪Germany Pepe Roni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    Just ran into the same issue and found this one. When having a longer list of items to add, this is really painful and shouldn't be too hard to solve?

    While "Add another item" currently has multiplicity of "1", we could instead prefix this button with a number (int) input field, prefilled with "1" in the style of a dropbutton toggle, but instead of havin the arrow part on the right, with a number on the left.

    That way it would still be 1 click if only one line is needed, with great UX is more items are needed and it perfectly fits the Drupal UI:

    I'm sorry this looks ugly in my screenshot, I'm not a designer ... -.- It should be turned around dropbutton style:

    Perhaps someone can sketch that more beautiful? Do you like the idea?

  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.71.5 2024