Returns the label of the button that was pressed to trigger the page submission.
This function queries the label of the button that caused submission of the current page.
The label may be blank.
Executed
Client-side and server-side.
Arguments
None.
Returns
String.
Example
This function in a script action field records the label in a variable.
function(helper, processor, props, context) {
helper.setVariable("subActionLabel", helper.querySubmissionActionLabel(), helper.VARIABLE_SERVERONLY);
return true;
}
And the result:
subActionLabel = "Go to Page 2"
Last modified on September 13, 2023