Oct 27, 2011, 10:02 PM
How to validate multiple form fields at once server side, and maintain error message display?
How would you validate (server side) all the fields on a form at once, during a save form?
I don't want to validate one field at a time to save multiple checks to the server, I would rather do it at once on the save button click.
But I still would like to know what fields don't validate, like RemoteValidationEventArgs allows you to know and set an error message, i.e. e.ErrorMessage
Thanks!
I don't want to validate one field at a time to save multiple checks to the server, I would rather do it at once on the save button click.
But I still would like to know what fields don't validate, like RemoteValidationEventArgs allows you to know and set an error message, i.e. e.ErrorMessage
Thanks!