Forum Moderators: coopster

Message Too Old, No Replies

how to process multi-select list

and also, is there another option?

         

bomburmusicmallet

7:02 pm on Jul 4, 2007 (gmt 0)

10+ Year Member



Hello,

I'm not sure if my post should go here, but since I am using PHP, I figured I'd start here.

I have a table of choices that a user can select from, and can select as many as they want (it is for searching). I originally had a dummy list with checkboxes set up, and of course the name="name[]" was an array to capture each ID checked off, so I could easily use 'foreach'.

However, when the list was finalized, it has over 100 choices. Even half that would be too much for checkboxes. My two questions are:

1) Is there an alternative to a multi-select list, which is not that intuitive to use nor easily accessible?

2) How do I set it up so I can capture the values? I can't seem to find this answer anywhere. Is it because multi-select lists are to be avoided?

Thanks.

coopster

7:28 pm on Jul 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I think I know what you are referring to ... does this discussion [webmasterworld.com] describe it a bit more elaboratley?