Address Validation
Noojee supports Address validation via partner datatools.
Address validation provides validation against Australia Posts list of valid postal addresses.
The tooling provides autocomplete so as an address is typed a list of possible matches is displayed adjacent to the address field.
The following provides details on implementing address validation for a Screen Layout using NC builtin Java Script editor.
NOTE: for the validation to work the campaigner system must be running https and you must use a https address validation server due to javascript ajax cross domain browsing limitations.
The address validator needs to be initialised during the onConnect processing.
e.g.
jQuery.njDialerPlugin.onConnect= function () { jQuery.njDialerPlugin.enableAddressValidation("AddressLine1", "Suburb" , "State", "PostCode", <URLKey>, <URL>); };
AddressLine1 needs to be replaced with the name of the field that is to accept the address input. This would normally be the first line of the address. Once the address has been validated the AddressLine1, Suburb, State and Postcode will be automatically populated with the result.
<URLKey> must be replaced with a URL Key which activates your address validation license. You need to obtain this from Noojee.
<URL> is the URL of the service used to do the address validation. You need to obtain this from Noojee.