Changes

SmartCheck Validation

4 bytes removed, 15:52, 24 March 2016
Comparing a date custom field to the current date
<pre>
if ((ssConvertDate(form.getStr("cf_Individual Review Start Date"), "@dateformat@", "yyyy-mm-dd") > "@date(currentdate)@"))
{ result.isPassed = false;
result.addMsg('cf_@Individual Review Start Date.id@', 'Please enter a date less than or equal to today for the date.');
}
Smartstaff
56
edits