I am new to AEM, using 2-datetime xtypes fields on same dialog.
1. StartTime: xtype-datetime (Start time for some event)
2. EndTime: xtype-datetime (End time for same event)
Now i need to validate above 2-fields: that once start time is entered by the user the end time should not be less than start time, means end time should always come after start time. If the user enters end time less than start time, on click of OK button it should throw an error msg saying "Pls choose End Time after start time".
Can anyone help me on validating the above scenario.?...Thanks in advance.