[Previous] [Contents] [Next]


Submit Buttons

Submit buttons initiate the action of sending the form data back to the server. A single form may have more than one Submit button to indicate what action is being performed. To create Submit buttons, use the INPUT tag with TYPE submit:

<INPUT TYPE=submit NAME='action' VALUE='Submit'>


Using CGI::Form, the following calls the method submit:

$q->submit( -name=>'action', -value=>'Submit' );



[Previous] [Contents] [Next]