Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Plugin Contributions
    0

    Default State Field - Pull Down Menu Error

    Hi,

    I would like to make the state field pull down only.
    I have selected in Admin ->: Configuration -> Customer Details -> State - Always display as pulldown? as True.

    This works fine and I can select the State form a pull down menu, however it does not remove the text field from the page.

    See attached pics of Firefox and IExplorer

    Does anyone know how to remove the text field?

    Thanks!

    Steve.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	firefox.jpg 
Views:	415 
Size:	12.7 KB 
ID:	3648   Click image for larger version. 

Name:	iexplorer.jpg 
Views:	394 
Size:	13.2 KB 
ID:	3649  
    Last edited by seventy-7; 27 Mar 2008 at 04:11 AM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: State Field - Pull Down Menu Error

    Out-of-the-box, the default/classic template works just fine. Thus, the problem is with your template.

    Your template is probably missing the stylesheet entries that control the hiding of the input field when state/province options are available.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Re: State Field - Pull Down Menu Error

    seventy-7,

    did you figured it out?!

    I have the exact same problem..

    .. and I too am running a custom template, so DrByte is most probably right that it has to do with a missing "something" in the custom template

  4. #4
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Re: State Field - Pull Down Menu Error

    I solved our problem!


    Go here:

    /includes/templates/ (your-custom-template) /css/

    open the file
    stylesheet.css

    Add these lines at the bottom of the file

    .hiddenField {
    display: none;
    }
    .visibleField {
    display: inline;
    }


    Taada! works like a charm

  5. #5
    Join Date
    Apr 2008
    Location
    South Florida
    Posts
    197
    Plugin Contributions
    0

    Default Re: State Field - Pull Down Menu Error

    Works, but now the dropdown state field is inset and not lining up with the others..

    Steve

  6. #6
    Join Date
    Dec 2004
    Location
    Redcliffe QLD, Australia
    Posts
    193
    Plugin Contributions
    1

    Default Re: State Field - Pull Down Menu Error

    It never ceases to amaze me - I can always find a fix to my problems in these forums.

    Thanks to everyone for their input - past and future.

    OZ.

 

 

Similar Threads

  1. v139f Please select a state from the States pull down menu
    By AnglersCorner in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2015, 04:20 PM
  2. Please select a state from the States pull down menu.
    By Veronika7747 in forum Managing Customers and Orders
    Replies: 5
    Last Post: 23 Oct 2009, 09:58 PM
  3. State Missing From EVery Pull-Down Menu
    By reagan6900 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 May 2009, 02:45 PM
  4. "Please select a state from the States pull down menu."
    By multichild in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Nov 2007, 02:40 PM
  5. State pull down menu
    By jetx in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 12 Oct 2006, 01:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg