J
JayB
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,
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,