We have certain fields on forms designated with a 'Leave' event so that in once the user leaves the field the field is validated.
In the event that the field is deemed to be in error focus is returned to the field and the user then re-enters the data.
I have a problem in that the user wishes to leave the form by way of an Exit button. Clicking on the button when a field is in error though generates a 'leave' event for the incorrect field even though there is a 'Click' event attached to the Exit button which says 'Get Out of form' and we go round in a circle with the user continually being presented with the field in error in focus instead of the 'Exit button' event being done.
How do I overide one event with another so that the Exit button 'Click' event supercedes the 'Leave' event of the data field on the form?