> Validating in Perl?! I'm interested!
Of course, perl has regular expressions far superiour
to anything Javascript offers. In fact, I once looked
at validating in Javascript and decided the character
manipulation was far too much effort.
You seem surprised... why?
> Can you send me some samp
> And then you can also write an entire validate
> routine in Javascript,say 'validateForm' and
> associate that with onSubmit event. Pass the form
> object itself, by invoking the function as name... onSubmit="return validateForm(this);">
Jonathan,
Validating in Perl?!I'm interested.!
> And then you can also write an entire validate
> routine in Javascript,say 'validateForm' and
> associate that with onSubmit event. Pass the form
> object itself, by invoking the function as name... onSubmit="return validateForm(this);">
Lets make the headline short:
ALWAYS VALIDATE IN P
ruary 2002 11:12
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Q] Validating Forms?!
John,
Thanks much for that information. It would be of
great help to me if you can provide me with some
sample scripts that will do these functions.!
Of course I'd like to add more robustne
I am afraid this is a OT. Please consult with good Javascript
documentation available online from Netscape and Microsoft Websites.
You can write a javascript function, say 'checkThis' which would accept
a parameter that corresponds to your text object and associate that with
the onBlur event .
o the form with highlights
on what is
wrong/missing.
HTH
John
-Original Message-
From: Bhanu Prakash [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 10:59
To: [EMAIL PROTECTED]
Subject: [Q] Validating Forms?!
HI All,
Is there a way to Validate the fields of a
form? Say I have a
te
user to the form with highlights on what is
wrong/missing.
HTH
John
-Original Message-
From: Bhanu Prakash [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2002 10:59
To: [EMAIL PROTECTED]
Subject: [Q] Validating Forms?!
HI All,
Is there a way to Validate the fields of a
form?
HI All,
Is there a way to Validate the fields of a
form? Say I have a
text field, and I should show an error to the user if
he does not enter
anything while submitting the form?
Thanks for the help
Bhanu.
=
Bhanu Prakash G V S
__
Do