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.

Address Field Country Values/Text

  1. It would be nice to be able to set the value and text value in the country dropdown just as you can with a standard dropdown field. Is there any plans to include this (or am I missing a trick?)

    Regards

    Ben

    Posted 12 years ago on Wednesday November 16, 2011 | Permalink
  2. The Address Field is a pre-defined advanced field. The only way to customize it is via hooks.

    There is a hook for creating your own custom Address Type which then becomes an option in the Address field. This hook is documented here:

    http://www.gravityhelp.com/documentation/page/Gform_address_types

    There is a hook for controlling the countries that appear in the Address field. It is documented here:

    http://www.gravityhelp.com/documentation/page/Gform_countries

    Posted 12 years ago on Wednesday November 16, 2011 | Permalink

This topic has been resolved and has been closed to new replies.