Changes

Jump to: navigation, search

SmartCheck Validation

350 bytes added, 17:40, 27 June 2016
no edit summary
result.addMsg('cf_@Date.id@','Date must be at least 6 months prior to today's date');
}</pre>
 
===Validation on a Select Many Checkbox Field===
<pre>if(form.getStr("cf_Request Type").indexOf("General Operating")==-1 ) { result.isPassed=false; result.addMsg('General Operating was not selected'); }</pre>
To trigger when the value is selected, use '!=-1'. This would normally be used in combination with another field for validations.
===To include other scripts into a SmartCheck script:===
Smartstaff
281
edits

Navigation menu