0
edits
Changes
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>