SmartCheck Validation is a secure, server-side method that checks field values when a user submits a form and returns errors both in context and in one centralized location. Configuring it involves building one or more validation statements for an object type and attaching those statements to a Submit and Save button, with results returned reliably each time a record is submitted because validation runs on the server. For SmartCheck Validation code, see SmartCheck Validation Code Reference.
Who: Global administrators
When to Use SmartCheck Validation
Use SmartCheck Validation when:
- Required fields must be completed before a record can be submitted.
- Entered values must meet a limit or format, such as a maximum requested amount or a valid email address.
- Validation errors should appear next to the field that failed and in a centralized list at the top of the form.
- Submit Logic is being replaced with a single, server-side validation method.
Configure SmartCheck Validation
SmartCheck Validation can be configured for each object type in the system, such as a UTA/module Level 1, Level 2, Level 3, organization, user, or transaction, and then linked to a submit button.
For a UTA/Module
To configure SmartCheck Validation for a UTA/module:
- Click the Menu icon in the upper navigation bar, and then select the relevant UTA/module from the Applications drop-down menu.
- Click the Configuration Settings gear.
- Click the relevant Level 1, Level 2, or Level 3 tab.
- Locate the General Settings section and click SmartCheck Validation.
- Click the New Validation [+] button.
- Click the Name field and enter the applicable information.
- Click the Description field and enter the applicable information, and then click Save.
- Click the Code Builder tab and add validation using one of the following methods:
- New Validation - Use the drop-down menus at the top of the screen to build a new validation.
- Existing Submit Logic - Use the drop-down menu at the bottom of the screen to select a submit button and any validation already associated with that button.
- Click Add to Source under the relevant section.
- The Source tab opens and shows the updated validation statement.
- Click Save.
- Click the Source tab, and then click Trial Run to check for errors when the validation statements run.
For an Organization, User, or Transaction
To configure SmartCheck Validation for an Organization, User, or Transaction:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Organizations, Users, or Transactions tab.
- Locate the General Settings section and click SmartCheck Validation.
- Click the New Validation [+] button.
- Click the Name field and enter the applicable information.
- Click the Description field and enter the applicable information, and then click Save.
- Click the Code Builder tab and add validation using one of the following methods:
- New Validation - Use the drop-down menus at the top of the screen to build a new validation.
- Existing Submit Logic - Use the drop-down menu at the bottom of the screen to select a submit button and any validation already associated with that button.
- Click Add to Source under the relevant section.
- The Source tab opens and shows the updated validation statement.
- Click Save.
- Click the Source tab, and then click Trial Run to check for errors when the validation statements run.
Add SmartCheck Validation to a Submit and Save Button
After the validation statements are created, add them to a Submit and Save button.
For a UTA/Module
To add a validation to a Submit and Save button for a UTA/Module:
- Click the Menu icon in the upper navigation bar, and then select the relevant UTA/module from the Applications drop-down menu.
- Click the Configuration Settings gear.
- Click the relevant Level 1, Level 2, or Level 3 tab.
- Locate the General Settings section and click Submit and Save Buttons.
- Click the edit [pencil] icon next to the applicable button.
- Click the SmartCheck Validation field and select the applicable option.
- To see the SmartCheck Validation settings, click the Open SmartCheck Validation Settings button.
- Click Save.
For an Organization, User, or Transaction
To add a validation to a Submit and Save button for an Organization, User, or Transaction:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Organizations, Users, or Transactions tab.
- Locate the General Settings section and click Submit and Save Buttons.
- Click the edit [pencil] icon next to the applicable button.
- Click the SmartCheck Validation field and select the applicable option.
- To see the SmartCheck Validation settings, click the Open SmartCheck Validation Settings button.
- Click Save.
View SmartCheck Update History
Changes to a SmartCheck validation are tracked in its update history, which records each change with the date, the time, and the person who made it. To view and compare changes:
For a UTA/Module
To view SmartCheck Update History for a UTA/module:
- Click the Menu icon in the upper navigation bar, and then select the relevant UTA/module from the Applications drop-down menu.
- Click the Configuration Settings gear.
- Click the relevant Level 1, Level 2, or Level 3 tab.
- Locate the General Settings section and click SmartCheck Validation.
- Click the edit [pencil] icon next to the applicable validation.
- Click the Update History icon to view a list of all changes.
- Check the checkbox next to two versions, and then click Compare.
- Review the screen that shows the differences between the two versions.
For an Organization, User, or Transaction
To view SmartCheck Update History for an Organization, User, or Transaction:
- Click the System Administration gear in the upper navigation bar, select Global Settings from the drop-down menu, and then click the Organizations, Users, or Transactions tab.
- Locate the General Settings section and click SmartCheck Validation.
- Click the edit [pencil] icon next to the applicable validation.
- Click the Update History icon to view a list of all changes.
- Check the checkbox next to two versions, and then click Compare.
- Review the screen that shows the differences between the two versions.