Zen Cart Logo
Forums / Customization from the Admin / State Drop Down still shows Text Box

State Drop Down still shows Text Box

Locked

Views: 1,807

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Nov 2008, 4:14 PM
#1
jhardman avatar

jhardman

New Zenner

Join Date:
Nov 2008
Posts:
9
Plugin Contributions:
0

State Drop Down still shows Text Box

Whenever I enable the state drop down feature from the Admin page, my account creation page still shows a text area for the state. It has both. The drop down works and the text area is not selectable. It's just there.

If you can help and want to look at it just go to:

http://www.stungunsdefense.com/

Then try and register. You'll see what I mean.

Any help is very much appreciated!

14 Nov 2008, 10:30 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: State Drop Down still shows Text Box

Thanks for the update and for posting the link that helped you out ... :smile:

3 Dec 2008, 10:31 PM
#4
kwarner avatar

kwarner

New Zenner

Join Date:
Dec 2008
Posts:
16
Plugin Contributions:
0

Re: State Drop Down still shows Text Box

I am having the same issue, but I think I need a bit more explanation of how to fix it. The last post said something about adding to the CSS...can someone explain further?

4 Dec 2008, 5:48 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: State Drop Down still shows Text Box

If you are displaying the input box when it should not be there on the address information, then you are most likely missing some of the class settings in the stylesheet.css file of your templates directory ...

You need to add these to your stylesheet.css for your template:

.hiddenField {
display: none;
}
.visibleField {
display: inline;
} 
4 Dec 2008, 2:15 PM
#6
kwarner avatar

kwarner

New Zenner

Join Date:
Dec 2008
Posts:
16
Plugin Contributions:
0

Re: State Drop Down still shows Text Box

Thanks Ajeh! Where do I add that? Is there a specific place within the code?

4 Dec 2008, 2:33 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: State Drop Down still shows Text Box

You need to add these to your stylesheet.css for your template:

Anywhere in your stylesheet will work.

4 Dec 2008, 11:56 PM
#8
kwarner avatar

kwarner

New Zenner

Join Date:
Dec 2008
Posts:
16
Plugin Contributions:
0

Re: State Drop Down still shows Text Box

Thank you!! All fixed. Most appreciated.