Attribute for <FORM ...>
ACTION = "URL"
Usage Recommendation |
use it |
ACTION
gives the URL of the CGI program which will process this form. For example, the
CGI program "MyCGI" is located at ../cgi-bin/mycgi.pl
(you can go directly to that URL). This form uses "MyCGI":
this code |
produces this |
<FORM ACTION="../cgi-bin/mycgi.pl">
favorite color: <INPUT NAME=COLOR><BR>
<INPUT TYPE=SUBMIT>
</FORM>
|
|
When you click submit, your browser sends the form data to the CGI indicated in ACTION
. See
Forms and CGI for more about CGI.