Hi,
I recently bought a script and it has a few bugs. The form below is supposed to allow the user to select the country, then the states woul populate based on teh country choice and the same for the city.
--------------------------
<fieldset legend="primary_address">
<input name="address1" max_length="128">street_address</input>
<input name="address1_2" max_length="128" required="0">street_address_2</input>
<input name="city1" type="select" table="states_cities" key="name" value="name" required="1" blankline="select_city">city</input>
<input name="state_one" type="select" table="states" store="value" key="id" value="name" blankline="select_state" required="1" otherattr="onChange="javascript:document.form s[0].action.value='load_cities';document.forms[0].city1.value='';document.forms[0].submit();"">state</input>
<input name="zip1" max_length="16" validate="/^[-0-9A-Z ]+$/i">zip_code</input>
<input name="country" type="select" table="countries" store="value" blankline="select_country" key="id" value="name" otherattr="onChange="javascript:document.form s[0].action.value='load_cities';document.forms[0].state_one.value='';document.forms[0].city1.value='';document.forms[0].submit();"">country</input>
</fieldset>
Pleasse assist in any way you can