Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Rhandom (Curate)
on Aug 25, 2011 at 14:48 UTC ( #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)
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
Node Status?
node history
Node Type: note [id://922371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2015-07-03 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (54 votes), past polls