Address Auto Complete
The Address Auto Complete special field is a convenient way for your form users to quickly enter verified addresses. The field uses the Google Places API to suggest addresses as your user types. They can select their address from the list that displays. Depending on your business requirements, you can then map the accepted address fields into your own fields, and you can restrict entry to certain countries.
The Address Auto Complete field suggests addresses as the user types. You may also want to consider the Address Natural Entry special field which does not evaluate the address data until the user leaves the field.
This topic covers the properties specifc to this field. Learn about other properties in the Introduction to Validation and Layout Basics.
On the Field Validation Setting panel, one property is specific to this field.
Property | Details |
---|---|
Validation |
Default is No Validation. Choose Valid Address to look up and verify that the address is correct. |
On the Field General Setting panel, these properties are specific to the Address Auto Complete field.
Property | Details |
---|---|
Address Field Map |
Map the address components returned from Google address lookup to fields on your form. Click to display the mapping window. Click Add Row then click Select Source to display the seven address fields returned. Choose one and click Select Destination to choose the field in your form to hold this data. The last choice on the Destination list is "Ignore". Choose that if you do not want to map the field. Repeat until all the fields are mapped. Then when a user enters an address and selects the suggestion from Google lookup, the fields on your form are populated. This speeds up address entry and verifies that you have correct data that is properly formatted, for example, for shipping labels. |
Country Restriction Field | Click to choose a field on the form that contains the country that you want to use for the address lookup. For example, if you have the user select their country first and then begin entering their address, the lookup will be restricted to the country selected in that field. |
Country Restriction | Enter a two character country code to restrict the address lookup. If a field is selected in the Country Restriction Field above, it will override this value. |
Short Names | Default is true. Recommended. Use the short names returned from the lookup, for example NY instead of New York. If you change this setting to false and use the long name, country and state dropdown list fields will not be populated. They use short names. |
Accept Partial Matches | Default is false. Change to true to accept partial match results from the Google API lookup. |
Include Establishments | Default is true. This means that business addresses will be included in the lookup. Set to false if you want only residential addresses. |
-
Barry Schneider The google autocomplete returns street number and street name. how do you concatenate the two values and store in one address field?
1 Comments