> Hi,

hi!

> This is a little off topic, but I suspect it's information that'll
> be useful to many.
>
> I'm developing an application that does validation both on the
> server and in Javascript. What are the pros and cons from a usability
> perspective of doing the validation on each field as the user types
> in the data vs validating when the user clicks on the submit button?
> This validation is in addition to server side validation, so even
> clients with javascript disabled will have their page validated.
>

generally, doing validation on both sides is the best thing.
like you said client-side scripting may be disabled, so you need server-side
validation in every case. using client-side validation as well reduces
bandwith usage which most users will like (and your server, too).

> I'd be interested in hearing about books and sites that talk about
> these issues.
>

I really liked Frank Puschner's "Das Usability-Prinzip" (3-89864-130-9), but
it's in German :-(

-mw

> Thanks,
>
> Dror
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to