Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Passing results to a script after form element validation

by Anonymous Monk
on Apr 14, 2004 at 10:45 UTC ( [id://344977]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Process form if submitted; otherwise display it
    if ($co->param("submit")){
    ...
                    return 1;
            }
    }
    
  2. or download this
    sub display_form{
            my $error_message = shift;
    ...
    $co->hidden( -name=>'submit', -value=> "Submit"),
    ),
    $co->end_form(),
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://344977]
Approved by Corion
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: (3)
As of 2024-04-24 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found