Javascript is excellent validation tool, provided you're just validating for
format (ie, all numbers, or only a seven digit number or text with a minimum
of 3 characters, etc).  It's widely supported among browsers, is strictly
client-side (requiring no network overhead) and has the ability to validate
each field as it's entered ( with the onChange() function.)

If you need to validate against information only found in the
server/database, you could provide all that in hidden fields in your html
and then use javascript, but it will involve at least one network call.

Mike Brubaker
Java Developer Wannabe
Orlando, Florida


----- Original Message -----
From: "Rishi Singh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 9:27 AM
Subject: server side validations for each input tag


> Dear Sir,
> I am working on a ERP web based applications, where in i am having 15-20
> inputs in my html forms.now these input are such that i need to provide
> validations for each of them, until each field is not validated the user
> is restricted to enter the next field.So i need a server side validation
for each of my input.
> Now for 15 input i have to call a servlet so many times and suppose if my
application is distributed then for these validations i need to inovoke the
servlets remotely.
> Is there any other way out where i can do the same without invoking the
servlets as this is going to hamper the performance and the overall process
time. please help.I could think of a freely available database i.e
MySql/Postgres for validating these inputs, these could act as local datbase
> and after these validations are done then it could be stored in the
central
> depository.
>
>
___________________________________________________________________________
> 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

Reply via email to