Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Form Validation Ideas

by Cody Pendant (Prior)
on Feb 25, 2008 at 02:59 UTC ( #669914=note: print w/replies, xml ) Need Help??


in reply to Form Validation Ideas

You want a module like Data::FormValidator.

And you don't need to transfer the params to variables before you test them, if that's what you meant by this:

$blah = param('whatever');
to validate your params, you can just do
if( param('whatever') ne '' ){ # error code here }


Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-07-08 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?