Gary King

Gary King

  • NA
  • 83
  • 159k

RequiredFieldValiadtors Resetting on PostBack

Jan 26 2012 10:29 AM
Hi,

I have rather large form with a number of RequiredFieldValidaors on textboxes and dropdowns.
When the user submits an incomplete form, the missing values are correctly identified (*)

Thats great, but if one of the missing values is a dropdown which when changed posts back to the server, then all of the RFV's are reset (ie, * is no longer displayed).

One thought was to set CausesValudation on the DropDown, but this would mean that validation fires even the first time round (when the user initially starts filling in the form).

Any ideas as to how I can get around this?
 

Many Thanks
Gary