http://www.perlmonks.org?node_id=304273


in reply to Generic HTML Form Validator
in thread Stupid Emotional Programmer Attachment, anyone?

Umm, no matter what the client side does in terms of validation, the server side needs to validate. There is no way to ensure that all input into the server side will come through your javascript. I usually do some of each - trap what errors I can in JavaScript and check *everything* in Perl anyway.

Replies are listed 'Best First'.
Re: Re: Generic HTML Form Validator
by YAFZ (Pilgrim) on Nov 04, 2003 at 08:06 UTC
    I have no arguments against that. All I wanted to do was to ease the coding and package frequently used code into a tiny and compact system that can be used in different projects, pages, etc.