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

Thanks for your suggestions! HTML::FormFu::ExtJS will as I understand it only work with Javascript enabled browsers, though and CGI::FormBuilder seems rather dead...
  • Comment on Re^2: Form validation - server-side (Dancer) and client-side (javascript)

Replies are listed 'Best First'.
Re^3: Form validation - server-side (Dancer) and client-side (javascript)
by trwww (Priest) on Aug 25, 2011 at 19:51 UTC

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

      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.