Difference between revisions of "SmartCheck Validation"

From SmartWiki
Jump to: navigation, search
(Blanked the page)
Line 1: Line 1:
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');  }
 

Revision as of 17:17, 24 November 2015