Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

State field as pull down menu


fdb

Recommended Posts

It used to be dynamically build with javascript. Looked nice but also really buggy. More problems then joy. Not all countries have states...

You can have a look in CVS to see how it was done but I prefer it like it is now:

 

-customer types STATE

-if state does not match the ones we have in Database show dropdown

-if no states available for country accept input

 

HTH

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Didn't realise it worked like that.

 

How could I skip the input field and just list the drop down menu as with the country? There seems to be a lot of code associated with the zones.

 

Dave

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...