Address Validation

Last updated Jan 14 2021

Collecting valid addresses
FormTitan allows you to create smart forms, where you can guide the form filler by specifying values he is allowed to enter in a field (or not allowed to enter in a field).
When the form filler enters an invalid value according the your rule, an error message will appear and he will not be able to submit the form until it is fixed.
Address validation is a new value rule we added to validate the address a form filler enters in an address field or a regular textbox.
Following are steps to use the Address validation value rule:

1- Create a new blank form 
2- Enable Google map API + GeoCoding  from google console to your form (since this service is no longer free) like this:
- Click on the following link to get the API key: https://developers.google.com/maps/documentation/javascript/get-api-key
- Go to:
‘Properties’ panel > ‘Form’ tab > ‘Settings’ option > ‘Personalization’ category.
- Paste the API key in the ‘Google map API key’ input box
- Save your form
3- Drag a textbox element and change its label to "Address  anywhere in the world"

While the element is selected go to: 'Properties' panel > 'Element' tab > 'Settings' > 'Value rule' category
Press on "Set value rules" button.
Choose "Address validation" in the dropdown
Do not specify any country code - this will allow the form filler to enter an address from any country in the world.

Press on "Apply"

4-

Drag an Address element and change its label to "Address  in Italy"

While the element is selected go to: 'Properties' panel > 'Element' tab > 'Settings' > 'Value rule' category
Press on "Set value rules" button.
Choose "Address validation" in the dropdown
In the textbox below specify the Italian country code: IT - this will limit the acceptable addresses to Italy alone.
Press here for a complete list of country codes
Press on "Apply"


5- 

Now publish the form to test it
Enter an address in both fields. you will see that in the first field you will be able to enter a valid address from any country, while in the second field you will be able to enter only valid addresses from Italy.
 

Try it yourself

CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.