Changes

Jump to: navigation, search

SmartCheck Validation

3 bytes added, 19:07, 14 February 2023
no edit summary
===Date custom field blank===
<pre>if ((ssConvertDate(form.getStr("cf_Project Start Date"), "@dateformat@", "yyyy-mm-dd") == "yyyy-mm-dd")) {
result.isPassed = false;
result.addMsg("cf_@Project Start Date.id@", 'Project Start Date is a required field.');
Used on multiline text fields to limit the minimum word entry
<pre>if(ssParseNum(form.getStr("cf_Amount Requestedcf_Leadership").split(' ') > 100000.length < 100) { <br /> result.isPassed=false; <br /> result.addMsg("cf_@Amount RequestedLeadership.id@",'Amount Requested cannot exceed $Leadership question must have minimum 100,000words');<br />}</pre>
===Count contacts in a specific role===
Smartstaff
4
edits

Navigation menu