Search Bar: Why is the state input is showing as a text field?

Search Bar configuration for the State/Province field

The Search Bar allows you to define what type of search fields are displayed per form input. If your Address Type is United States or Canadian (see image below), your defined Search Bar setting will be used. There is an exception, however: 

When an Address field in Gravity Forms has the "Address Type" setting of "International", GravityView will always display a text input on the front-end to search the "State/Province" input.

To get around this, you may use the Gravity Forms gform_address_types filter to add more country values. This will allow the front-end search input type to be displayed properly because Gravity Forms will be providing a list of states to populate.

The 'Address Type' setting in an Address field inside the Gravity Forms form editor

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us