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.

Limit Countries (in address)

  1. Is there a way to limit to countries listed in the address?

    Posted 15 years ago on Monday October 26, 2009 | Permalink
  2. Right now there is no way to customize the countries selection drop down. We plan on enhancing the Address field in the future to make it more flexible and customizable.

    Posted 15 years ago on Monday October 26, 2009 | Permalink
  3. Carl,

    Ok thanks. In the mean time I'll just create separate fields for the address info and limit the country field to the 4 countries we ship to.

    Posted 15 years ago on Monday October 26, 2009 | Permalink
  4. Was this feature added through some type of filter?

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  5. @sk0ttkclark Yes you can add a custom address type using the gform_address_type filter which I sent you documentation on.

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  6. That doesn't allow for filtering countries. Currently, countries are retrieved from GFCommon::get_countries() which is a "set" list of countries used in the country drop-down for an International address or other custom address types.

    Please add it ;)

    Posted 13 years ago on Wednesday February 16, 2011 | Permalink
  7. Scott, this filter makes sense. It will be added in 1.5

    Posted 13 years ago on Thursday February 17, 2011 | Permalink
  8. Is this added to the filter yet? I'm using this one and having no luck: http://www.gravityhelp.com/documentation/page/Gform_address_types

    Posted 13 years ago on Thursday July 28, 2011 | Permalink