Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2006
    Posts
    24
    Plugin Contributions
    0

    Default State Dropdown should go if...

    Hi Folks:

    I've read everything I could find about the use of state dropdowns but most seem to be concerned about what to do upon error. My question's a little different.

    I like having the state dropdowns, as most of our users are from the States or Canada - but when someone tries to register from a country that doesn't use a state field, they get an error, and are asked to provide a state field in the dropdown - but the dropdown is empty except for "Please Select a State"

    Anybody have this problem - we're 1.3.7...

  2. #2
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: State Dropdown should go if...

    Was this a clean install or an upgrade from a previous version?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: State Dropdown should go if...

    It was a clean install...

  4. #4
    Join Date
    Jan 2004
    Posts
    58,260
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: State Dropdown should go if...

    What template is your site based on?
    What is the URL?

    It sounds like your template is missing some stylesheet components and maybe also some layout components and even some javascript.

    The normal operation if there are no states in the pulldown, is to activate another input field where they can type in their state/province/region information.

    If your template is missing those components, then you'll have to merge them back in from the core code, which does have it.

    If you switch back to the "Classic" template, does it work any differently?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  5. #5
    Join Date
    Jul 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: State Dropdown should go if...

    Hi, Doc...

    Quote Originally Posted by DrByte View Post
    What template is your site based on?
    It's a custom template we created, but we based it originally on the default temp, as I recall...
    Quote Originally Posted by DrByte View Post
    What is the URL?
    www.essereorganics.com/shop

    It sounds like your template is missing some stylesheet components and maybe also some layout components and even some javascript.
    Very possible, but we haven't noticed any other odd behaviour...

    The normal operation if there are no states in the pulldown, is to activate another input field where they can type in their state/province/region information.


    If your template is missing those components, then you'll have to merge them back in from the core code, which does have it.

    If you switch back to the "Classic" template, does it work any differently?
    That's a great tip - I'll give that a whirl.

    Thanks for all the info - makes perfect sense - I just didn't know what the default behaviour was... Now I know what to look for

  6. #6
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: State Dropdown should go if...

    You are missing a couple of small but very important pieces of the stylesheet -

    .hiddenField {
    display: none;
    }
    .visibleField {
    display: inline;
    }
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jul 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: State Dropdown should go if...

    Great call, Kim - and thanks.

    It still seems to require something to be put in the state field or it throws a validation error - I might be missing some js, perhaps.

    I wonder about the usability of having a dropdown instructing the user to type in a field below it. I couldn't figure it out, but then again I'm not that smart.

    Would a better idea be to simply have the dropdown box dissapear, and the state field label become State, if applicable - and of course change the validation to make it a non-required field. I'm sure this has had some discussion among the development team.

    Thanks again for all of you folks with the coding skills to contribute to this project. I'm not griping, just thinking out loud :)

 

 

Similar Threads

  1. state dropdown donīt work
    By renacuajo in forum General Questions
    Replies: 2
    Last Post: 30 Aug 2006, 08:48 PM
  2. State not dropdown at shipping estimator
    By renacuajo in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Aug 2006, 11:35 PM
  3. State Drop Dropdown
    By BlessIsaacola in forum Upgrading from 1.2 to 1.3.x
    Replies: 3
    Last Post: 26 Jun 2006, 04:22 PM
  4. How to have State dropdown
    By patski in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 May 2006, 02:01 AM

Bookmarks

Posting Permissions

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