Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Manage FORM SELECT with multiple selections
September 2, 2004, 7:33 am
rate this thread
I have made a form with two SELECT LIST-boxes where the first is dynmically
filled when you enter the page, and then one can select multiple options
option in the list has an integer value.
The FORM is submitted with the POST method and received on an ASP page. I
then want to manage the selected options one by one. How can I separate
It currently looks like this (with four selections from the box).
1, 5, 9, 10
I tried to manage this as a string, but was told that it was not a string.
Type mismatch: '[string: "1, 5, 9, 10"]'
Can anyone help med with some code that can separate these options for
- Jukka K. Korpela
September 2, 2004, 9:16 am
Re: Manage FORM SELECT with multiple selections
Well, just deal with it.
That's an ASP problem then. Try asking in an ASP group, and give a hint
about what you are actually doing, by revealing a piece of code. Posting
the URL wouldn't hurt either.
But regarding user interfaces, multiple selections in <select> menus
are generally awkward, inferior to sets of checkboxes. At least you
should specify a SIZE parameter value that equals the number of options.
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html