Preventing date validation on cancelling record creation
I have created a button which cancels new record creation by effectively deleting the current record.
A problem arises when a user has filled in a date field with invalid data. When the field is exited by pressing the cancel button, a validation dialog appears.
It is not very user friendly if a user has to go back to this field and either delete the data or enter a valid date before they can cancel record creation.
I have been playing around with this for some time now and cannot seem to find an effective solution.
Thanks in advance