Good questions, Dean. Yes, under our approach if there are multiple errors on a form then "validation" stops the moment the first error is encountered and a message is returned. Users deal with only one error at a time.

In most of our interactive web applications, the [Enter] key (or Submit click) triggers a form post and server validation. In other words, all fields are sent to the server. However, we have had occasion to trigger an AJAX request of just one field value. In that case the field value is validated the moment of change + field exit.

Our web server interfaces are notably quick, however. Maybe a millisecond or two on a LAN.

-Nathan


----- Original Message -----
From: Dean Eshleman <Dean.Eshleman@xxxxxxxxxxxx>
To: "'web400@xxxxxxxxxxxx'" <web400@xxxxxxxxxxxx>
Cc:
Sent: Wednesday, March 6, 2013 1:41 PM
Subject: Re: [WEB400] Error messages and validating data

Hi Nathan,

Since you only display one message at a time, how does it work if you have multiple errors on a form?  I take it you have to fix the first error before you will see the second error message.  Is that correct?  At what point is the data validation occurring?  Is it when the user presses Enter or clicks Submit and the data on the entire form is validated or is it happening more on a field by field level?

Dean Eshleman
Everence Financial

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.