Changes

SmartCheck Validation

275 bytes added, 18:09, 26 October 2016
Added validation syntax to check that a date custom field is blank
result.addMsg('cf_@Date.id@','Date must be at least 6 months prior to today's date');
}</pre>
 
===Date custom field blank===
<pre>
if ((ssConvertDate(form.getStr("cf_Project Start Date"), "@dateformat@", "yyyy-mm-dd") == "yyyy-mm-dd")) {result.isPassed = false; result.addMsg('cf_@Project Start Date.id@', 'Project Start Date is a required field.');
}</pre>
 
===Validation on a Select Many Checkbox Field===
Smartstaff
9
edits