Closed (outdated)
Project:
Select (or other)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2010 at 13:56 UTC
Updated:
9 Oct 2021 at 19:45 UTC
Jump to comment: Most recent
Comments
Comment #1
danielb commentedAt the moment it supports delimited values (like comma seperated).
I know what you mean though, you want a second box to appear if the first one is used? Would require some development to handle that.
Comment #2
clashar commentedyes, the new other box should appear if one is filled.
so no ready solution exists...
Comment #3
alan d. commentedI'm not sure what the above discussion is about, but a feature request in a similar direction is to have any checkbox enabled with an other or specify more textfield
I.E
Select you favorite color:
[ ] Black
[ ] Blue, which tone [ ]
[ ] Red
[ ] Other, please specify [ ]
This would be very cool, but I would expect that it would mean a lot of development.
Comment #4
danielb commentedComment #5
danielb commentedI'm considering switching the other field over to an array. Delimiter is so ghetto
Then this might be more viable. Alan D's suggestion isn't bad either - just not sure how to set that up.
Comment #6
danielb commentedInternally these values are already treated like an array, so that's not an issue.
However implementation of this doesn't seem like it would be fun
Comment #7
danielb commentedThis could be done either purely with JavaScript and then molest the values in and out of a delimited list, or it could be done by redesigning how the other field is generated and submitted, and have the php work out everything it should. The second way is what should be done, but if we do it now in the current branch, all the integration stuff will break. So it should be in a new branch since it's a redesign, and I'm not ready for that at the moment.
Comment #8
stella commented+1 for Alan D.'s suggestion
Comment #9
danielb commentedComment #10
danielb commentedComment #11
cybermache commentedIs it possible to give every selectable item the ability to have a text field associated with it? Might be a "two birds, one stone" sort of thing. It would certainly solve the multiple "other" fields as well as what Alan D is suggesting.
Just a thought, probably just as difficult to code but might be more effective? You could do away with the title option then and maybe get rid of the pre-built option too? Though, I could see it being useful inline with each option, but might seem a little over board unless you would add your own pre-builts as you go.
Comment #12
danielb commentedThis issue is hard enough without all the crazy ideas and lack of code.
Comment #13
alan d. commentedI haven't tried it, nor looked at the code, but you may be able to get some inspiration from the sandbox project Select More, http://drupal.org/sandbox/bpwilliams/1320212
BTW, I think that I mimicked this request for a webform using multiple single checkboxes, flagging the ones of interest to be select or others. Worked, but messy in terms of the additional theming and data storage.
Cross posting #1670918: Merge efforts with Select or other module?
Comment #14
danielb commentedIs there anything wrong with using Select More if you want to add a textfield for each choice? That would mean I don't have to do it :P
Comment #15
alan d. commentedSounds like you have too much on your plate too :)
If Brian (bdawg8569) or someone else is interested, would you want to consider merging projects? If not, just mark this as works as designed / wont fix!
Comment #16
danielb commentedI'm keen to do clashar's original request in this issue (though I have no idea how yet), and as interesting and potentially useful as having an other field for every choice is, I don't think it's quite in line with what this module claims to provide. It would be nice to allow Select More to evolve and find it's feet and it might offer a good alternative to people that need something a bit different.
Comment #17
haydeniv commentedNew features go against 7.x so changing version. No patch so this is Active.
Comment #18
halloffame commentedAny update on this?
Comment #19
legolasboNew features will be developed against the 7.x-3.x branch
Comment #20
legolasboComment #21
daften commentedClosing as outdated because no activity in a long time and Drupal 7 goes EOL soon. Feel free to re-open if needed.