Changes

Jump to: navigation, search

SmartCheck Validation

35 bytes added, 20:45, 26 June 2015
no edit summary
Field names need to be encapsulated with double quotes
Compare Start Time versus End Time
if( (form.getStr('starthour')+form.getStr('startminute')) >= (form.getStr('endhour')+form.getStr('endminute')) )
{result.isPassed=false;
result.addMsg('endhour','End time cannot be earlier than start time'); }
0
edits

Navigation menu