Question
Maintaining form state when validation fails
Dear all,
Would be grateful for any suggestion.
Have a registration form that inserts into a database. However it also has a
server behaviour that checks for duplicate usernames. If username already
exists it reloads the form with an alert against the username field.
Problem: All information entered in other fields are lost on reload.
Question: Is there any way of keeping the information already entered so the
user does not have to enter it all over again?
Many thanks
Would be grateful for any suggestion.
Have a registration form that inserts into a database. However it also has a
server behaviour that checks for duplicate usernames. If username already
exists it reloads the form with an alert against the username field.
Problem: All information entered in other fields are lost on reload.
Question: Is there any way of keeping the information already entered so the
user does not have to enter it all over again?
Many thanks
