Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Add States listing
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lacey
Junior Member

USA
122 Posts

Posted - 28 May 2001 :  11:45:37  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
In which file would I add the listing of the states in the US for a pull down menu, similar to the pulldown menu for the country?

Thx

~L~
"Have a mah-vah-LACEY day~"

e3stone
Average Member

USA
885 Posts

Posted - 28 May 2001 :  12:46:03  Show Profile  Send e3stone an AOL message
inc_profile.asp around line #240 look for this:

<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">State: </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><input name="State" value="<% =rs("M_STATE") %>"></font></td>
</tr>

change the code in red to this:
<select name="State" size="1">
<OPTION selected VALUE="<% =RS("M_STATE") %>"><% = ChkString(rs("M_STATE"), "display") %>
<option value="AL" >Alabama</option>
<option value="AK" >Alaska</option>
<option value="AZ" >Arizona</option>
<option value="AR" >Arkansas</option>
<option value="CA" >California</option>
<option value="CO" >Colorado</option>
<option value="CT" >Connecticut</option>
<option value="DE" >Delaware</option>
<option value="DC" >District of Columbia</option>
<option value="FL" >Florida</option>
<option value="GA" >Georgia</option>
<option value="HI" >Hawaii</option>
<option value="ID" >Idaho</option>
<option value="IL" >Illinois</option>
<option value="IN" >Indiana</option>
<option value="IA" >Iowa</option>
<option value="KS" >Kansas</option>
<option value="KY" >Kentucky</option>
<option value="LA" >Louisiana</option>
<option value="ME" >Maine</option>
<option value="MD" >Maryland</option>
<option value="MA" >Massachusetts</option>
<option value="MI" >Michigan</option>
<option value="MN" >Minnesota</option>
<option value="MS" >Mississippi</option>
<option value="MO" >Missouri</option>
<option value="MT" >Montana</option>
<option value="NE" >Nebraska</option>
<option value="NV" >Nevada</option>
<option value="NH" >New Hampshire</option>
<option value="NJ" >New Jersey</option>
<option value="NM" >New Mexico</option>
<option value="NY" >New York</option>
<option value="NC" >North Carolina</option>
<option value="ND" >North Dakota</option>
<option value="OH" >Ohio</option>
<option value="OK" >Oklahoma</option>
<option value="OR" >Oregon</option>
<option value="PA" >Pennsylvania</option>
<option value="RI" >Rhode Island</option>
<option value="SC" >South Carolina</option>
<option value="SD" >South Dakota</option>
<option value="TN" >Tennessee</option>
<option value="TX" >Texas</option>
<option value="UT" >Utah</option>
<option value="VT" >Vermont</option>
<option value="VA" >Virginia</option>
<option value="WA" >Washington</option>
<option value="WV" >West Virginia</option>
<option value="WI" >Wisconsin</option>
<option value="WY" >Wyoming</option>
</select>

I don't know if you want Abreviations for the states, or not. That code should work.

<-- Eric -->


http://insidewaco.com/forum/home.asp
Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 29 May 2001 :  00:07:58  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
TY.. worked like a charm! I would have replied right away, but my system is giving me trouble by not updating my changes right away and I have to wait for an eternity to see the changes!! grrrrrr

I was finally able to see the changes and they are super! TYVM!



~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07