Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2015-07-30 10:40 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 (271 votes), past polls