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.

Edit Decription Fields in Advanced Address

  1. Hi, I'm setting up a form for Australian users, With the Zip Code Field I'd like to replace Zip / Postal Code with Post Code, Also would like to edit the region description as well. I can not work out which file needs editing. Any ideas on how to do this?

    As a side Note, Any Chance of adding an Australian Option to the drop down?

    We don't use the term "Zip Code" or Province

    Posted 9 years ago on Wednesday May 12, 2010 | Permalink
  2. You can check out this thread to read up on how to use the available api to change the sub-labels of the advanced fields (ie. zip/postal code, etc.):

    http://forum.gravityhelp.com/topic/uk-specific-address-help#post-2327

    We do plan on adding additional address options in the future.

    Posted 9 years ago on Wednesday May 12, 2010 | Permalink
  3. Thanks Carl, The filter works a treat. Perhaps you can help out a little further, For the State field, How would I then turn that into a drop down.

    These would be the 8 States;

    NSW
    VIC
    QLD
    WA
    SA
    TAS
    NT
    ACT

    Next Custom Option option is, How would I remove the State Field all together? On another form I have done, the state field is not required as it is a local targeted web site.

    So a wish list for the Next Update, To have an Australian Option to Choose From, Zip to be Labeled "Post Code" and State will be State with the above names in the drop down.

    Add more options to be excluded when creating the form

    Posted 9 years ago on Thursday May 13, 2010 | Permalink
  4. scversilleescver
    Member

    I need to know this as well. The website that I'm working on is for local targets only so the State field is completely unnecessary. Which template file do you access to remove it? Or more appropriate, what line of script could I use in function.php to eliminate it completely?

    Posted 9 years ago on Sunday May 16, 2010 | Permalink
  5. The easiest thing to do is set your chosen state as the default value for the field, then hide the state input field with some css.. something like this.. appended to your theme style sheet.

    #input_1_13.4 {display:none}

    of course replacing it with the actual input ID from your form.

    Posted 9 years ago on Sunday May 16, 2010 | Permalink