![]() |
State Required not working |
Post Reply ![]() |
Author | |
lcameron ![]() Groupie ![]() Joined: 08-May-2006 Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() Posted: 18-July-2013 at 11:38pm |
We are trying to make State field required when checking out for Australian customers. I have chedk the control panel and there does not seem to be an option to make it mandator and have also gone into /pc/onepagecheckoutJS.asp and added the Australia state code ie:
var CountriesRequireStateCode="US, CA, AU" However on checkout, we still are not prompted for a state. Am I missing somewhere it needs to go?
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
The original code is this:
var CountriesRequireStateCode="US, CA, " You did this: var CountriesRequireStateCode="US, CA, AU" It appears you missed the trailing comma. You may also want this: var CountriesRequireZipCode="US, CA, GB, AU, "
|
|
![]() |
|
lcameron ![]() Groupie ![]() Joined: 08-May-2006 Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() |
Thanks so much! You wouldn't know how to make the Shipping Phone Number mandatory?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |