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.

Making UK address fields

  1. So 1.4 brings us the ability to use UK-based address field titles instead of the current US ones as shipped with GF but how do you use it? The website says check the changelog for details and sure, the changelog gives you some code but doesn't tell you where to put it?

    So...for a newbie can someone please explain in simple language how I get UK-based titles i.e. Address 1, Address 2, Town/City, County, Postal Code as my address fields because the changelog tells you absolutely zero.

    Posted 14 years ago on Wednesday September 22, 2010 | Permalink
  2. Adding a custom address field type is for developers with experience using WordPress hooks and filters. The code in the changelog is example code for what you would need to implement to add a custom county drop down.

    When you use hooks and filters to customize Gravity Forms you always place the code in your themes functions.php file or in a theme template file depending on what you are trying to do. Typically it goes in functions.php.

    If all you want to do is change the labels associated with the Address field items see this post:

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

    If you want to add a county drop down you would customize the code found in the changelog and add it to your themes functions.php file.

    Posted 14 years ago on Wednesday September 22, 2010 | Permalink