George Fox University | Offices and Services | Institutional Technology | Select Lists

Select Lists

By using the "select" tags, you can provide a predetermined list of items from which the user can choose. The select tag uses a nested "option" tag to define each choice. Take a close look at this code to see what I mean.



<form method="post" action="https://scripts.georgefox.edu/cgi-bin/FormMail.pl" name="example4">

<input type="hidden" name="recipient" value="bweldon@georgefox.edu">

I'd like to vacation during the month of:<br>

<select>

  <option name="month" value="jan">January</option>

  <option name="month" value="feb">February</option>

  <option name="month" value="mar">March</option>

  <option name="month" value="apr">April</option>

  <option name="month" value="may">May</option>

  <option name="month" value="jun">June</option>

  <option name="month" value="jul">July</option>

  <option name="month" value="aug">August</option>

  <option name="month" value="sep">September</option>

  <option name="month" value="oct">October</option>

  <option name="month" value="nov">November</option>

  <option name="month" value="dec">December</option>

</select><br>

<br><input type="submit" name="submit" value="submit"><input type="reset" name="reset" value="reset">

</form>



  1. NAME - this is the name part of the name/value pair that will be sent to the email receipent. Use a common name to group the choices together.
  2. VALUE - this is the data value that will be sent to the email receipent.
I'd like to vacation during the month of:


This page was last updated 3-29-2008 19:09:59.
For questions or comments about this page, please email the webmaster.