PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Get rid of address field State / Province / Region

  1. I am trying to set up Gravity form on wp.38an.se right side column. In the address filed there is a input for "State / Province / Region" I wish to remove this just as you have removed Address line 2 or country. How do I do this? I prefer not to use CSS and just hide it. I want it to go away for good.

    Posted 10 years ago on Tuesday March 2, 2010 | Permalink
  2. There is currently no way to remove it without hiding it using code. It's a function of the Address Field and isn't currently an optional component. You can either change the label using a filter, or pre-populate it and hide it using CSS. Those are currently your only options until the functionality is enhanced in a future release.

    Your other option is to not use the Address field and create your own using standard input fields.

    Posted 10 years ago on Tuesday March 2, 2010 | Permalink
  3. Your other option is to not use the Address field and create your own using standard input fields.

    Posted 10 years ago on Tuesday March 2, 2010 | Permalink
  4. Jan Egbert
    Member

    +1 for having an option to hide State / Provence / Region

    I'm sure Americans and Canandians love this field, but I have to prepopulate and hide this field every time I set up a contact form since it's not a common field in many other countries.

    I think there are two ways of doing this:

    1. An extra option to hide the field

    • Hide Country Field
    • Hide Address Line 2 Field
    • Hide State / Provence / Region Field

    2. One or more extra address field formats

    • International
    • United States
    • Canadian
    • Dutch
    • Etc.

    Or an easy way to add address formats via filter hooks would be even cooler.

    Posted 10 years ago on Wednesday March 24, 2010 | Permalink
  5. HI Admins!

    I would like to emphasize the importance of jan egberts post. I guess this is a very important feature for european customers that they can hide state/province field.

    Can you integrate that in a future version please,
    Frank

    Posted 10 years ago on Wednesday March 24, 2010 | Permalink
  6. Jan Egbert
    Member

    Carl? Do you have any comments on this?

    Posted 10 years ago on Saturday March 27, 2010 | Permalink