2,004
edits
Changes
m
no edit summary
Recognize the If, Result, Message structure:
<pre>
if(ssParseNum(form.getStr("cf_Store Value")) > 5)
<//pre>If the contents the of the form value (stored in the custom field named cf_Store_Value) is greater than 5. <pre> {result.isPassed=false;<//pre>If the “if” statement is true then set the value of the statement to “false” and print the custom message below.<pre>
result.addMsg('Some message here');
}
</pre>
=Enabling SmartCheck Validation=