1 Attachment(s)
Extra non-enterable State Field Appearing on page 1 of checkout
Hi,
Apologies for asking this if its already been covered. I couldn't find it by searching.
On my checkout I have an extra field appearing under the "State/ Province" field. It is not possible to enter data into the field but it does have a black asterisk (not a red one like the other fields).
I can see that it is sort of linked to choosing a foreign country in the country field. Because when the customer enters a foreign country in the country drop down the aforementioned extra field jumps to the right and the asterisk turns red - also the "State/ Province" dropdown changes to have only one option "Type a choice below".
I guess my two questions are:
1) Can I get rid of the superfluous field when a non-foreign country is chosen? Most people buy from my country so the extra field is confusing.
2) When a customer does choose a foreign country instead of the field jumping right, the asterisk turning Red and the drop down saying "Type a choice below" can I change it so that the drop down is simply replaced with the text field so that the user can free enter the text?
Many thanks in advance for your help
Simon
Re: Extra non-enterable State Field Appearing on page 1 of checkout
I think this has to do with the 'hiddenField' suggestion here:
http://www.zen-cart.com/forum/showthread.php?t=85350
Re: Extra non-enterable State Field Appearing on page 1 of checkout
Excellent!! Thank you so much for your help.
I added these three lines to around line 585 in my stylesheet.css and the field has disappeared now:
.hiddenField {
display: none;
}
.visibleField {
display: inline;
}