Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q138 How do you get a two character abbreviation from a drop down list of all the US states as input to a CGI?

You are here: irt.org | FAQ | JavaScript | Form | 3.3 | Q138 [ previous next ]

Try something like this:

<FORM ACTION="nameofmy.cgi" METHOD="GET">

<SELECT NAME="state">
<OPTION VALUE="xx">xxxxx
<OPTION VALUE="yy">yyyyy
<OPTION VALUE="zz">zzzzz
</SELECT>

<INPUT TYPE="SUBMIT">

</FORM>

©2018 Martin Webb