Changes

Jump to: navigation, search

SmartCheck Validation

2 bytes removed, 17:41, 27 June 2016
no edit summary
===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.
Smartstaff
286
edits

Navigation menu