CGI/PERL Tutorial over the Web

Click to go to the PREVIOUS page. Click to go to the INDEX page. Click to go to the NEXT page.

SLIDE #6 A SELECT FORM CALLING A CGI PROGRAM


In this sixth slide, we introduce a select form calling a CGI program.

1. THE SELECT FORM:

<html><head><title>Redirect Form</title></head><body:<p>
<form action="http://deplhi.acast.nova.edu/~jclevin/cgi-bin/CGI/redirect.cgi">
<select name="link">
<option value="http://www.classleader.com">ClassLeader
<option value="http://www.intlcustsoft.com">International Customized Software
</select>
<input type="submit" value="Select an Entry">
</p></form></body></html>

2. FORM DESCRIPTION:

The first line is the HTML page header.

The second line describes the action to be taken when submitting the form:
<form action="http://deplhi.acast.nova.edu/~jclevin/cgi-bin/CGI/redirect.cgi">
which specifies the URL of the location of the CGI program.

The third and following 3 lines display the select element:
<select name="link">
<option value="http://www.classleader.com">ClassLeader
<option value="http://www.intlcustsoft.com">International Customized 
Software

The seventh line displays the submit element:
<input type="submit">

The eighth line closes the form, the paragraph, the body and the HTML tag.


© Copyright 2002 International Customized Software Co.