When I hit the new button, I can see that there is a Cancel button added by default by Salesforce.com. My Lightning component works fine but I want to do some processing when user hits the Cancel button which is provided by Standard Salesforce.com. How can I achieve this and how can i find out if a Cancel button provided by Standard salesforce is being hit or not
Please help me out,
I am using required inputFields a Visual Force Page with standardController Object .
I am refereshing each input field for onblur event in order validate the field immidiately.
The problem, i dont want to have default error message Error: You must enter a value
I dont want to remove the required attribute , as i need to have the required field symbol.
Please let me if there is any work around for this: