Changes

SmartCheck Validation

381 bytes added, 02:02, 8 February 2018
no edit summary
{result.isPassed=false;
result.addMsg('cf_@Date.id@','Date must be at least 6 months prior to today's date');
}</pre>
=== ===
===Ensuring an entered date is at least 3 business days away ===
<pre>if(ssConvertDate(form.getStr("cf_Date EOI Revision Deadline"),'@dateformat@','yyyy-mm-dd') < "<!--@sscalculation(SS_FUNC.addbusdays("@date(currentdate)@",3))-->")
{result.isPassed=false;
result.addMsg('cf_@Date EOI Revision Deadline.id@','Date must be at least 3 business days away');
}</pre>
0
edits