Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Values don't persist after error message

$
0
0

I am attempting to update really old form.

This form allows users to enter things into the database.

There is some error checking on the form.  There is also some constraints in the database.

When the user enters erroneous data, and it is caught by the form, all values the user has entered persist.

When the user enters erroneous data, and it is caught by the constraint, all values the user has entered except for one lone dropdown persist.  I can't figure out why this is the only value that gets set to the first item in the list.  There are 4 other different drop downs in this table, all the values are set to what they were before the error was thrown.  I can't tell what's different about this one.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>