Changes

Jump to: navigation, search

SmartCheck Validation

5 bytes removed, 15:06, 14 February 2023
Comparing two custom date fields with separate custom time fields storing 24 hour time
===Comparing two custom date fields with separate custom time fields storing 24 hour time===
<pre>if(ssConvertDate(form.getStr("cf_Event Start Date"),"@dateformat@", "yyyy-mm-dd")+' '+form.getStr("cf_Event Start Time") >= ssConvertDate(form.getStr("cf_Event End Date"),"@dateformat@", "yyyy-mm-dd")+' '+form.getStr("cf_Event End Time")) {<br /> result.isPassed=false;
result.addMsg("cf_@Event End Time.id@",'End Date must take place after the Start Date');
}</pre>
Smartstaff, administrator
4,478
edits

Navigation menu