Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Form Validation Ideas

by Cody Pendant (Prior)
on Feb 25, 2008 at 02:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://669914]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-23 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found