Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Form validation - server-side (Dancer) and client-side (javascript)

by Rhandom (Curate)
on Aug 25, 2011 at 14:48 UTC ( [id://922371]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://922371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found