Toggle menu

helper.utilCreateAction(fieldName, actionName)

Creates and returns an action object, representing an action performed by one of the form family's "action fields".

This function can be used in scripted action fields to replicate and extend the functionality of the standard action fields. It is most commonly used to create custom confirmation messages, displayed once the form has been submitted, or to create custom email actions.

Executed

Server-side only.

Arguments

ArgumentTypeDescription
fieldNameString, requiredField name
actionNameString, requiredAction name

Returns

Object

Examples

For a worked example, see the Scripted Form Actions knowledge base article.

Last modified on 06 March 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon