Enabling validation rules
Once all validation rules have been configured for each address block with country-specific settings specified, the validation functionality needs to be enabled for the organization. In the event that you want to disable all configured validation rules, the following setting can be disabled.
- Go to
| AddressTools Free Administration.
Settingsfrom the sidebar.
- Click the pencil next to
- Tick the
Validation Enabledbox to enable validation.
Testing a validation rule
With validation rules configured and enabled for an address block, it’s great to test the changes to see if everything is working as expected.
- Navigate to a record in Salesforce on the object you have configured.
- Edit the address block to breach a configured validation rule.
- Attempt to save the record.
If everything is configured correctly, your validation rules will prevent the record from saving and provide an alert for what needs to be rectified. After rectifying the data, the record will then save.