Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by trwww (Priest)
on Aug 25, 2011 at 19:51 UTC ( #922442=note: print w/replies, xml ) Need Help??

in reply to Re^2: Form validation - server-side (Dancer) and client-side (javascript)
in thread Form validation - server-side (Dancer) and client-side (javascript)

You can only do client side validation with javascript. Browsers do not have built in methods to do form validation.

  • Comment on Re^3: Form validation - server-side (Dancer) and client-side (javascript)

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

    They will soon (aka HTML5) but, yes, you're right. But as I understand it, HTML::FormFu::ExtJS will create the entire form using Javascript which obviously won't work on non-JS-browsers...

    What I want to do is have a form that's validated (if possible) on the client side using JS and, as a fallback, on the server as well.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922442]
[marioroy]: ... including MCE 1.830. Finally, reached the finish line. All is well.
[marioroy]: The issue on the Windows platform is many workers loading "required" modules simultaneously, more so with XS modules.
[marioroy]: ... at runtime.
[marioroy]: The other problem is if a module isn't thread or multi-process safe, there's no posix_exit equivalent on the Windows platform without exiting the entire script.
[Discipulus]: and the workaround you proposed works better? ie load them once and then copy them for threads?

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-09-22 09:43 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (260 votes). Check out past polls.