Is there a way to limit to countries listed in the address?
Is there a way to limit to countries listed in the address?
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.
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.
Was this feature added through some type of filter?
@sk0ttkclark Yes you can add a custom address type using the gform_address_type filter which I sent you documentation on.
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 ;)
Scott, this filter makes sense. It will be added in 1.5
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