in reply to Form validation - server-side (Dancer) and client-side (javascript)

There is also CGI::Ex::Validate of which I am the author, but which I don't actively market. We have used CGI::Ex::Validate every week for the past 8 years. It has run javascript and perl validation on millions of pages.

There are working javascript samples that you can try out that are directly linkable from the CGI::Ex distribution page. A good example to try is http://search.cpan.org/src/RHANDOM/CGI-Ex-2.32/samples/validate_js_2_onchange.html. The static examples included with the distribution are just a sampling of what could be generated from the perl validation markup.

my @a=qw(random brilliant braindead); print $a[rand(@a)];
  • Comment on Re: Form validation - server-side (Dancer) and client-side (javascript)

Replies are listed 'Best First'.
Re^2: Form validation - server-side (Dancer) and client-side (javascript)
by pvbcharon (Beadle) on Aug 26, 2011 at 08:42 UTC

    Thanks for that suggestion, I'll have a closer look at it. At a first glance, it looks exactly like what I was looking for (and exactly like what I was plotting in my mind to write in case nothing good came up).

    Thanks again!