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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://922442]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-24 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found