Delete Record when cancelled
Posted: 12 Oct 2016
I would like to delete the list item anytime the cancel button is clicked in the Edit Form
Design SharePoint forms with tabs, complex tables, accordions, sub-lists, and 3rd party columns
https://spform.com/forum/
Code: Select all
fd.cancel().click(function(){
SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand('Ribbon.ListForm.Display.Manage.DeleteItem', null);
});