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


in reply to Generate javascript for HTML form fields validation

CGI::Ex::Validate will autogenerate the javascript for you, as well as handling the validation server side.

cheers

tachyon