Verify that the start date is earlier than the end date on the Edit page . Use the following code in the Edit page: Before record updated event.
if (values["start_date"] > values["end_date"])
{
message = "Start date can not be later than End date.";
return false;
}
else
{
return true;
}
See also:
•AJAX helper object: setMessage()
•Store the date and time when a record is modified