Hi,
I have created some HTML forms using the Perl CGI module. Now I need to perform client-side validations on those forms. Examples of these validations include checking if numbers alone have been entered in a price field, checking if the e-mail field is in the correct format etc.
I am thinking of using Javascript for these validations. Could anyone tell me if this is the
best thing to use or is there some Perl-specific thing available that would be easier.
I my opinion, validations should always be server-side. If someone really wants to mess something up, they can call your script manually with bad data. They can also just turn off JavaScript.
-- Andrew Gaffney Network Administrator Skyline Aeronautics, LLC. 636-357-1548
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>