http://www.perlmonks.org?node_id=922442


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.