Open main menu
Changes
SmartCheck Validation
386 bytes removed
,
15:23, 4 December 2015
no edit summary
{result.isPassed=false;
result.addMsg('Some message here');
}
</pre>
Multiple File Upload field has no files -> Fail:
<pre>
if(ssParseNum("@level1.MUlti upload.numoffiles@") < 1)
{result.isPassed=false;
result.addMsg('Please upload at least one file');
}
</pre>
Single File Upload field has no file -> Fail:<pre>if("@Single File Field.filename@" == "")
{result.isPassed=false;
result.addMsg('Please upload a file here');
}
</pre>
← Older edit
Newer edit →
Lorena Ruiz
Smartstaff
286
edits