You speak truth!
But the original query was (paraphrased): "How do I insure numerical
input for a user's age in the form's "age" field. This is clearly a
job for JavaScript. And as for "users having JavaScript turned off?"
Who the hell turns JavaScript off? It's on by default in every major
browser, and if the user is technically proficient enough to turn it
off, I don't care about validating him/her.
Now, that being said, sure server-side validation is where you want to
be in a scenario you describe. But for simple checking whether or not
the data is numeric or not? Come on! Why put all that overhead on
the server and network?
Cheers!
Mark
----- Original Message -----
From: "Christopher K. St. John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:50 PM
Subject: Re: How can I catch an JSP error ????
> Mark Galbreath wrote:
> >
> > Everyone (beginning with me) is telling him to use JavaScript. He
> > says (privately to me) that his boss insists that validation take
> > place on the server (typical boss - probably from Marketing).
> >
>
> Even if you use Javascript to validate on the client side,
> you still have to re-validate on the server-side. Client
> side validation just speeds up feedback, it doesn't
> guarantee clean data. (Eg, the user has Javascript turned
> off, the user posts the data using a tool other than a web
> browser, etc, etc, etc)
>
>
> --
> Christopher St. John [EMAIL PROTECTED]
> DistribuTopia http://www.distributopia.com
>
>
______________________________________________________________________
_____
> 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
>
___________________________________________________________________________
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