Toggle menu

helper.utilRemoveAllActions(contextVariables)

Removes all actions from the supplied context.

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

Executed

Server-side only

Arguments

ArgumentTypeDescription
contextVariablesObject, required    The current context. This will always be context

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 May 02, 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon