Log in

View Full Version : Select list



darrylw99
06-05-2013, 02:09 PM
I have 6 lists (for example) named YesRank_Q1 / 2 / 3 / 4 / 5 / 6 with 4 options blank,1,2,3

How can I code it so that you can only have a one 1/2/3 throughout the list.

so if you choose 1 in YesRank_Q1 it's not available in the rest of the dropdowns.

I have hard coded each list, but if you use javascript to populate the dropdowns, will the data be available after being posted to another page?

Thanks

Beverleyh
06-05-2013, 03:06 PM
I'm having hard time visualising what you're trying to describe. I'd say at this stage you should looked into "chained selects" (Google will bring up lots of results and there might be something there that is exactly what you need) but for specific help, please post a link to your page to we can see what you have so far.

clueful
06-06-2013, 12:59 AM
I have 6 lists (for example) named YesRank_Q1 / 2 / 3 / 4 / 5 / 6 with 4 options blank,1,2,3

How can I code it so that you can only have a one 1/2/3 throughout the list.

so if you choose 1 in YesRank_Q1 it's not available in the rest of the dropdowns.



I'm pretty sure this is what you mean: http://scripterlative.com/files/selectunique.htm

vwphillips
06-06-2013, 10:09 AM
http://www.vicsjavascripts.org.uk/FormCompendium/RemoveDuplicateOptions.htm