Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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)
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 meditating upon the Monastery: (2)
As of 2014-07-26 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (179 votes), past polls