I have two listbox on one page to let user make selection from one to the other. Could you tell me how to make those buttons "<", ">", "<<", ">>" working? Thanks.
Yes, I understand the differences between the "value" and "text" property, but with the example you gave with the two list boxes (list1 and list2), when the "submit" button is clicked, how do I read the "values" that I've moved over to the right list (list2)? How are the multiple "values" posted from that list box?
I think the easiest way would be to make a hidden field with an, initially, empty value. Then as you move items from list 1 to list 2, simply append them to the field with a simple comma or semicolon to delimit the entries. This hidden field could then be returned with the submit and processed at the server side.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.