Declaring a step
Submitting a step
A step needs a way to move forward. You don’t have to declare it: when a step contains nosubmit element, one is appended automatically.
Declare a submit element yourself when you want to control its caption:
submit_on_change: true — answering that element submits the step on its own. That is the pattern for a one-question step that branches the rest of the form.
Conditional steps
Wrap a step in an:if / :then block to include it only when a condition holds:
Variables
Variables are values defined once and reused across the whole form — static constants, or values computed from answers.Defining variables
Without dependencies, use an object:Using variables
Reference a variable anywhere in the form with{variable_name}:
Next steps
Elements
Every element type and its options
Portal pages
Welcome, review and ending screens
Penscript
The expression language behind conditions and variables
Form templates
Back to form templates