Changes

Jump to: navigation, search

SmartCheck Validation

281 bytes added, 21:46, 6 August 2018
no edit summary
result.addMsg("cf_h@notefield.id@","You must type in a description before submitting for revisions.");
}</pre>
 
===Minimum word count limit===
Used on multiline text fields to limit the minimum word entry
 
<pre>if(form.getStr("cf_Leadership").split(' ').length < 100)
{result.isPassed=false;
result.addMsg('cf_@Leadership.id@','Leadership question must have minimum 100 words'); }</pre>
===To include other scripts into a SmartCheck script:===
0
edits

Navigation menu