Changes

SmartCheck Validation

215 bytes removed, 21:10, 4 December 2015
no edit summary
SmartCheck Validation can be enabled system-wide or on a UTA by UTA basis.
Before you can enable SmartCheck Validation on your system you’ll need to have Global Admin privileges.
To enable the feature system-wide:
# Under the Configuration menu click on '''Global Settings'''.# Add a check mark to the “Activate '''Activate SmartCheck Validation” Validation''' box under System Configuration.
# Navigate to the desired UTA
# Click on “Settings”
# Under the L1 or , L2, or L3 click on the “SmartCheck Validation” link under the Properties menu.
# Click on “New Validation”# Using the “Code Builder” or “Source” tabs, enter your validation details.
# Click Save when done
{result.isPassed=false;
result.addMsg('Please upload at least one file'); }
</pre>
 
====End date is before Start date -> Fail:====
<pre>if (datediff('@date(startdate)@','@date(enddate)@','d') < 0)
{result.addMsg('End date must be later than Start date'));
result.isPassed=false;
}
</pre>
2,004
edits