Country/State selector not working

Hi everyone, I’m just getting started on customizing a CS Cart template and I’m having issues with the country/state selector…



When I change countries, the state doesn’t change with it and the last two state entries are:



function() { for (var i = 1; i< this.length; i++) { if (this[i][0] == this[i-1][0] { this.splice(i,1); }}}



and



function() { for (var i = 0; i <= this.length; i++) { this.shift(); } }



Can anyone help me out? It’d be much appreciated. The site is [url]http://www.themotley.com/index.php[/url]



Thanks!

Nick

Hi nloui,



Have you found the solution for this issue? I’m also struggling with the same issue, can you please help me out to fix this issue.



In the register form if an user selects any country then I want to refresh the states list according to the selected country, how can I achieve this?



Thanks,

Siva

I am also having a state related problem during checkout. I have the cart set up to require the user to fill in the state field. However, as I ship outside the U.S., when I select a country with no states, the state drop down list goes away but it still requires that a state be entered before allowing me to proceed.



Any advice?

thanks,

stevenjak

1 Like

No response … anyone found a solution for similar problem ?