Log in

View Full Version : checkbox in dropdown ???



mahnazm
06-07-2011, 10:32 AM
Hello guys!

My question is: how can i create a dropdown list with checkboxs inside ?

Means each row has a checkbox and user can selet more than one.

Is it possible with html code? and how?:confused:

Thanks.

FrickenTrevor
06-08-2011, 02:45 AM
A drop down list by default will close up after you have made a choice, so making multiple choices would be somewhat difficult. :)

But to answer your question, no its not possible. If you want users to be able to select more than one you should try checkboxes

http://www.w3schools.com/html/html_forms.asp

Nile
06-08-2011, 04:53 AM
Or, if you just want the ability for the user to select multiple items in a select field, you can check out the multiple property. http://www.w3schools.com/tags/att_select_multiple.asp