If I have a select box, and I want it to be "pre-selected", and then if there is an error on the page, have the option the user selected as "selected", how would I do this? I tried putting a selected="selected" attribute on the option i wanted "Pre-selected", but if I choose an option from the select box that is before this "pre-selected" option, then the option that I hardcoded to being selected is what is selected when an error occurs. How can I do this with having the option the user selected as being "selected" when an error occurs.
Thanks!
Thanks!