Toggle menu

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.

Multipurpose Snippet Toolbox
 

Multipurpose Snippet End
 

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:

Page Settings - Client Init Handler
 

And add the following to hide the CONFIRMCANCELLAYOUT and all of its fields:

Hide CONFIRMCANCELLAYOUT
 

Last modified on June 29, 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon