Returns the name of the action that caused the page submission.
This function queries the submission action of the current page as it is being submitted. This will be one of the fixed action names, for example NEXT or BACK.
Executed
Client-side and server-side.
Arguments
None.
Returns
String.
Example
This function in a script action field records the action name in a variable.
function(helper, processor, props, context) {
helper.setVariable("subAction", helper.querySubmissionAction(), helper.VARIABLE_SERVERONLY);
return true;
}
If a "next" button was pressed, the result would be:
subAction = "NEXT"
Last modified on September 13, 2023