This function changes the step action label in the form, that is in edit mode.
Parameter |
Type |
Description |
|---|---|---|
action |
string |
Name of the action, whose label is to be changed. |
label |
string |
New label |
Possible actions are:
•abort
•answer
•assign
•back
•finish
•jumpTo
•request
•resubmission
•save
•send
If another action or an action not available in the dialog is transferred, the function displays an error message.
Example
Label changing for the action Request:
jr_set_step_action_label('request', 'Ask a question')