I always had an extra option at the top of the list that was always
selected that would contain the name of whatever was selected in the
list. This did make the state listed twice, but it was easier then
getting it listed only once.
JayB wrote:
> I am creating an online survey for one of our grants and one of the items to
> be answered is county (U.S.). The county is to be in a drop-down menu to
> prevent typos and counties from other states by mistake. I'm doing
> server-side validation (many of our users have disabled JavaScript) and need
> to retain the user's selection if they need to revisit the page to make
> corrections.
>
> In the past I'd declare variables for each choice in the drop-down menu
> (usually they are no more than five or six choices for what I've done) and
> use a select case to set one of the variables to ' SELECTED'. However, in
> the county list there are 86 choices.
>
> What would be the most efficient way to retain the users selection if they
> need to go back to fix errors? I also am looking for a similar solution for
> many checkboxes.
>
> Thanks,
>
--
Please do not contact me directly or ask me to contact you directly for
assistance.
If your question is worth asking, it's worth posting.
If it’s not worth posting you should have done a search on
http://www.google.com/ http://www.google.com/grphp?hl=en&tab=wg&q= or
http://news.google.com/froogle?hl=en&tab=nf&ned=us&q= before wasting our
time.