This extension and HTML file add functionality to eforms in Sunapsis that connect to Google's Maps API for address validation. When configured correctly, An "Add Address" button is added that opens an address prompt where an address can be submitted. The address is validated and returned. When the user confirms the address, it then populates corresponding form fields in Sunapsis.
Create an information only field that will serve as the location for the address validation button. Identify this field by adding the following meta information tag: addressValidator
The extension will replace the content of this field with a button labeled "Add Address".
These are the meta tags that will are required to connect to the validated address components. All fields are required for the extension to work
validAddress1
validAddress2
validCity
validState
validZip
If you want a single field to display the complete, formatted address, create an information only field with the following meta information: validAddressFull