Changes

SmartCheck Validation

212 bytes added, 05:02, 13 December 2016
Added validation on e-mail field
result.addMsg('At least one role must be selected.');
}</pre>
 
===Validation on an E-mail Field===
<pre>if(!isEmail(form.getStr("cf_Additional Email 1")))
{result.isPassed=false;
result.addMsg('cf_@Additional Email 1.id@','Please enter a valid e-mail address.');
}</pre>
===To include other scripts into a SmartCheck script:===
Smartstaff
9
edits