Page 1 of 1
Drop down menu for all 50 states available?
Posted: Wed Apr 06, 2005 12:24 am
by Fusioned
Anyone know of a good place I can go to grab either:
A huge SQL query that creates a table with all 50 states and how to implement it into a signup form...
or...
A drop down list with all 50 states I can just copy and paste and edit? Id prefer this one.
Thanks!

Posted: Wed Apr 06, 2005 12:32 am
by feyd
usps.gov I'd imagine.

Posted: Wed Apr 06, 2005 12:37 am
by Fusioned
Oooh found a good one..thanks! It was a .gov site too!

Posted: Wed Apr 06, 2005 12:40 am
by Smackie
Well here is one is like a list for a form
Code: Select all
<FORM METHOD="e;POST"e; ACTION="e;nextpage.cfm"e;>
<SELECT SIZE="e;1"e; NAME="e;Fruits"e;>
<OPTION>Select an item</OPTION>
<OPTION VALUE="e;"e;>USA</OPTION>
<OPTION VALUE="e;"e;>Iowa</OPTION>
<OPTION VALUE="e;"e;>Texas</OPTION>
</SELECT>
<INPUT TYPE="e;submit"e; VALUE="e;Submit Fruit"e;>
</FORM>
here is one for a menu
Code: Select all
<FORM
ACTION="e;../cgi-bin/redirect.pl"e;
METHOD=POST onSubmit="e;return dropdown(this.gourl)"e;>
<SELECT NAME="e;gourl"e;>
<OPTION VALUE="e;"e;>Choose a Destination...
<OPTION VALUE="e;USA"e; >USA
<OPTION VALUE="e;IOWA"e; >IOWA
<OPTION VALUE="e;TEXAS"e; >TEXAS
</SELECT>
<INPUT TYPE=SUBMIT VALUE="e;Go"e;>
</FORM>
hope one of them helps you
~Smackie~