Sample Form (for Example 3)
Let us use the following form to ask
the user how to print the contents
of books.dat:
We write the source as follows:
Filename: disp_books.html
<HTML>
<HEAD>
<TITLE>Sample form for Example 3</TITLE>
</HEAD>
<!-- [11/5/2002] - File created. -->
<BODY>
<FORM METHOD="GET" ACTION="/cgi-bin/cai_pnk/disp_books.cgi">
<FONT SIZE=+1>Contents of books.dat to print:</FONT> <P>
<INPUT TYPE=RADIO NAME=PRINTING_RANGE VALUE=ALL> All <BR>
<INPUT TYPE=RADIO NAME=PRINTING_RANGE VALUE=KEYWORD_LINES_ONLY>
Lines with keyword: <INPUT TYPE=TEXT NAME=KEYWORD> <P>
<INPUT TYPE=SUBMIT VALUE="OK">
</FORM>
</BODY>
</HTML>
|
|
|