Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922371]
[LanX]: new Firefox + cb sidebar do random auto expand on submit
[LanX]: probably need to start pm discussion
[LanX]: they have a constitutional referendum in turkey, kind of "do you want a dictator" and everybody opting no gets problems ...
[Corion]: LanX: Random Auto Expand?
[Corion]: LanX: Well, everybody opting "yes" will also get problems. The question is more like "Do you want problems now or problems later?"
[LanX]: and the AA had posters with a big say NO with a small "to alcohol"
[ambrus]: LanX: is it the kind of free and secret vote where there's only one box you can check?
[LanX]: no two boxes , enemies of the state are just denounced

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-03-27 12:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.