HTML Form Example

This form from our library home page serves as a Z39.50 client for searching several locally mounted databases. Note how each form element has a unique value assigned to its NAME attribute:
<HTML><HEAD>
<TITLE>INFOSHARE Page </TITLE>
</HEAD>
<BODY>
<H1>INFOSHARE Database Query Page</H1>
<IMG SRC="index.xbm"> Search University Libraries INFOSHARE databases using Z39.50.
<P>
<HR>
<FORM METHOD=POST
ACTION="http://nebula.lib.vt.edu:8001/cgi-bin/infogate">
<H3>     Search     </H3>
NOTE:  Words <B>must</B> be filled in sequential order.<P>
Database: <SELECT NAME="dbname">
<OPTION SELECTed>WHUM Humanities Index
<OPTION>WGSI General Science
<OPTION>WSSI Social Science
<OPTION>WBAI Biology and Agriculture
<OPTION>WAST Applied Science and Technology
<OPTION>WRGA Reader's Guide Abstracts
<OPTION>WWBA Wilson Business Abstracts
<OPTION>XWIL Test Database
<OPTION>CCON Current Contents
</SELECT><P>
Records to View: <INPUT NAME="maxrecords" SIZE=4 VALUE=100>
Full or Brief displays: 
<SELECT NAME="esn">
<OPTION SELECTED>B
<OPTION>F
</SELECT>
<P>
Word 1: <INPUT NAME="term_term_1">
<SELECT NAME="term_use_1">
<OPTION SELECTED>Author
<OPTION>Title
<OPTION>Subject
<OPTION>Word
</SELECT>
<P>
Word 2: <INPUT NAME="term_term_2">
<SELECT NAME="term_use_2">
<OPTION SELECTED>Subject
<OPTION>Word
<OPTION>Title
<OPTION>Author
</SELECT>
<P>
Word 3: <INPUT NAME="term_term_3">
<SELECT NAME="term_use_3">
<OPTION SELECTED>Title
<OPTION>Subject
<OPTION>Word
<OPTION>Author
</SELECT>
<P>
<INPUT TYPE="radio" NAME="operator" VALUE="and"> AND 
<INPUT TYPE="radio" NAME="operator" VALUE="or"> OR 
<INPUT TYPE="radio" NAME="operator" VALUE="not"> NOT 
<P>
<HR>
<INPUT TYPE=reset VALUE="Clear">
<INPUT TYPE=submit VALUE= "Do Search">
</FORM>
</BODY>
</HTML>

Next Slide