Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Re-selecting values in multi-select menu
September 5, 2004, 1:39 am
rate this thread
I use a multi-select menu in an ASP so the user can pick several values.
<select multiple name="lbErrorType" size="12">
However, after I have saved the records to the DB, and the user comes back
to edit a prior record, I re-populate the multiple select box and do a
"<option selected>" during a DO loop, for each matching record that is saved
to the DB.
But only the last value is selected !
How do I get the select menu to select ALL the appropriate values ?