AnsweredAssumed Answered

How can I have a date field empty on failed validation?

Question asked by hats on Jun 27, 2014
Hi All,

In Sugar 7, I have put validation on date field comparing start and end date.
Its working fine if user enters end date smaller than start date but I need to clear the date if it happens.
I am using onchange event. It is clearing the date field at one instance and again filling it back with the date selected.

Please let me know if anybody has any idea on this.

Thanks and Regards.