Toggle menu

helper.utilRemoveAllActions(contextVariables)

Removes all actions from the supplied context variables.

This function will disable all action fields on a form when it is submitted.

Executed

Server-side only

Arguments

ArgumentTypeDescription
contextVariablesObject, requiredSkeleton processor context variables

Example 

This example is used in a script action field. The script action needs to be placed above all other action fields as they are executed in order.

function (helper, processor, props, context) {
    helper.utilRemoveAllActions(context);
    return true;
}

Last modified on 09 March 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon