It would be useful to have the option to "Add another item" for a field with a select list type. Allowing "Unlimited" values for a select list field allows you to select as many of the allowed values as possible, but this prevents multiple values of the same type from being selected and stored.
e.g.
For a user that ate 2 bananas for breakfast at 9:00AM and another for a snack at 11:00AM.
Select a time for each banana you ate this morning:
8:00|1
9:00|2
10:00|3
11:00|4
The values that should be selected and stored are: 2, 2, 4
There's no way to take this input like this in D7 right now.
Comments
Comment #1
blischalk commentedI totally agree with this request. I have a scenario where I want users to select specialties. The user can have a primary specialization and secondary specialties. Whatever specialty they drag to have a delta of 0 would be their primary specialty while all of the rest would be their secondary specialties. The only way I can accomplish this now is using a field collection and limiting the select to only 1 selection. Then the user could use "add another" on field collections. While I think this would get the result I am after it feels a little kludgy and like the core select form element should have this sort of option baked in.
Comment #2
Juryiel commentedI also need this functionality
Comment #3
marcingy commentedFeatures go into d8.
Comment #4
webadpro commentedI badly need this.
Comment #5
webadpro commentedI think i have the solution for this. I made a module that does exactly this but needs some testing.
Comment #6
robmalon commentedI also need this functionality.
@webadpro Did you create a sandbox for it? I'll do some testing... Link?
Comment #7
webadpro commentedI haven't done so just yet. Ill see what I could do today.
Comment #8
webadpro commentedHi,
For a D7 Version please view the following module: http://drupal.org/project/multiple_selects
Comment #9
klonosThanx for sharing this! I'll be testing it soon(ish).
Comment #22
smustgrave commentedWonder if this feature is still needed for D10 and up.
Comment #24
smustgrave commentedSince there hasn't been a follow up going on 2 years going to close out. If still desired please re-open