Default value in SELECT form
I am developing a system where users can edit their details. Among the details they can edit are in the form of drop down menu.
If for example in a member's Salutation he chose a 'Mr.', once he edits his profile the form should automatically be set as
<option>PLEASE SELECT SALUTATION</option>
<option "Mr" Selected>Mr.</option>
How do I make such pre defined selected value if I have a variable named salutation = "Mr."
Hope somebody can help me.
Thanks hammerslane. Have you got an ASP version? I wonder if there is another way because my concern is on the COUNTRY field which is a very long array of options.
i'm afraid i don't know any asp. i can see how my code, even adapted for asp, would be very heavy.
i'm not sure of a better way to do it. maybe you're better posting at the asp forum....
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)