Hey team,
I want that my end date should be greater than start date.
this is the code which I had written in validatewrire() method of table but this code also gives the error message even if the end date is greater than start date. Please can you tell me what is wrong with my code?
public boolean validateWrite()
{
boolean ret;
TransformationAssociates trans;
ret = super();
if(trans.EndDate<=trans.StartDate)
{
ret = ret && checkFailed("End Date should be greater then Start Date");
}
return ret;
}
Also Please can you tell me, On the end date calendar how can we disable on all dates on the form before the start date or today's date.
My form has fields: First Name,Last name, Email,StartDate, EndDate