next (html)
An HTML content command that defines the Step to which the currently active Flow proceeds to after this Form.
This content command works only if placed onto a button
element with the type
"submit". If the Form is submitted using the button with this command, the Flow proceeds to the Step named by the primary attribute's value.
Secondary attributes
next-message | ||
---|---|---|
Required | Value type | EL-evaluated |
No | String | No |
Defines the message that will appear after the Form is submitted and the next Step of the Flow is loading. If not defined, the submit message of the Form is presented after submit. |
Examples
A pair of buttons leading the user to different Steps:
<button type="submit" dyn-next="questionDone" dyn-next-message="Processing answers"><button type="submit" dyn-next="moreQuestions" dyn-next-message="Preparing more questions">