Creating Custom Tasks
Add the End Snippet
Add the "CM Multipurpose End" snippet to the bottom of the final page of your form. It includes all of the buttons you'll need.
Cancel buttons
The snippet includes logic to be able to cancel the task. This is only available to the user who created the task.
When a user presses the Cancel button, the snippet displays the confirmation buttons. You need to add logic to your form to hide the confirmation buttons until the Cancel button is pressed.
In the page settings, open the Client Init Handler:
And add the following to hide the CONFIRMCANCELLAYOUT and all of its fields:
Last modified on June 29, 2023