<HTML>
<TITLE>
 Taming the Net - Cold Fusion Sample Search Form
</TITLE>
<!--
     Filename:  Search.html
     Copyright: Sep. 21, 1997
                Michael L Gueterman 
                Easy Does It Technologies
-->
<!--  Comments in an HTML page are specified by using an
      exclamation park followed by two dashes.  To close
      the comment block, simply use two dashes followed by
      a greater than sign.
-->
<BODY>
 <H1>
  Cold Fusion Sample Search Form
 </H1>
 <P>
  This HTML only page will accept search values from
  the user and pass those to a Cold Fusion template
  which will perform the query and return the tuple(s)
  found to the user.
 </P>
 <!--  Define the HTML form which will accept the users
       search criteria.  When the user clicks on the
       [Search] button, the contents of the form will
       be delivered to the 'search.cfm' template.  Notice
       also that a URL parameter named 'go' is being passed
       to the CFML template.  It's meaning is explained there.
 -->
 <FORM ACTION="search.cfm?go=yes" METHOD=POST>
  Please select the search type
  <BR>
  <!-- Allow the user to determine via a radio button control
       whether the value to search for will be the vendor Number,
       or the Vendor Name.  Default to a Vendor Number search.
  -->
  Vendor Number <INPUT TYPE="radio" NAME="searchtype" VALUE="ID" CHECKED>
  Vendor Name <INPUT TYPE="radio" NAME="searchtype" VALUE="NAME">
  <!--  Allow the user to enter in up to 40 characters into the search
        value field.  Only 30 characters at a time will be displayed
        though.
  -->
  Search Value <INPUT TYPE="text" NAME="value" SIZE=30 MAX=40>
  <BR>
  <!-- The [Search] button when clicked will send the user to
       the page specified in the ACTION value of the FORM statement.
  -->
  <INPUT TYPE="submit" VALUE="Search">
  <!-- The [Clear] button will reset the radio button to it's
       default setting, and erase any information entered into 
       the value field.
  -->
  <INPUT TYPE="reset"  VALUE="Clear">
 </FORM>
</BODY>
</HTML>