Version

SharePlusCustomFormsOnCancel

This hook method can be implemented or not. When implemented, the method is called after the user navigates back in a Custom Form through the UI. In this case, the form displayed in SharePlus won’t be automatically closed. Instead, you have to close the form manually using the Forms.close method.

Syntax

function SharePlusCustomFormsOnCancel (){
        //TODO: Validate custom form cancel
        SPlus.Forms.close (); //Close the custom form.
}