Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: form buttons

by Anonymous Monk
on Nov 30, 2001 at 15:12 UTC ( #128599=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <input type="submit" name="action" value="button1">
    <input type="submit" name="action" value="button2">
    <input type="submit" name="action" value="button3">
    
  2. or download this
    my $query = CGI::new();
    #assign value to $action
    my $action = $query->param('action');
    
  3. or download this
    if ($action eq 'button1') {
    #do your thing
    }elsif ($action eq 'button2'){
    #do another thing
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-08-18 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?