Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please select a state from the States pull down menu.


toptiara

Recommended Posts

Posted

I configured my store to run with UK data rather than US, so replaced 'State' with 'County'

 

The county data is stored as a validating table, but sadly I don't have the expertise to display a drop down box on the pages, so it's a free text field.

If a user fills the field in exactly as it is in the table (East Sussex would work, but E Sussex wouldn't for example) it validates ok and works fine. If they make a typo or don't fill it out exactly, then the error (Please select a state from the States pull down menu.) appears.

 

I obviously want to change this error, as it doesn't make any sense at present (there is no State field), but I am unable to locate it.

 

Can anybody point me to the file(s) I need to update please?

 

Thanks

Dan

Hand made jewellery and tiaras on our website

 

Please bear with me. Im an osC noobie!

Posted
I configured my store to run with UK data rather than US, so replaced 'State' with 'County'

 

The county data is stored as a validating table, but sadly I don't have the expertise to display a drop down box on the pages, so it's a free text field.

If a user fills the field in exactly as it is in the table (East Sussex would work, but E Sussex wouldn't for example) it validates ok and works fine. If they make a typo or don't fill it out exactly, then the error (Please select a state from the States pull down menu.) appears.

 

I obviously want to change this error, as it doesn't make any sense at present (there is no State field), but I am unable to locate it.

 

Can anybody point me to the file(s) I need to update please?

 

Thanks

Dan

 

all of these texts are in your languages constants define files:

 

includes/languages/....

 

 

define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');

Treasurer MFC

Posted
all of these texts are in your languages constants define files:

 

includes/languages/....

define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');

 

You are a gem :)

 

Thanks!

Hand made jewellery and tiaras on our website

 

Please bear with me. Im an osC noobie!

Archived

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

×
×
  • Create New...