Cheatsheet
List of essential attributes and variables.
Summary
Essential attributes
Attribute | Options | Description |
---|---|---|
| Any valid form name | Mounts the Superform library to a specific form in Webflow. Supports multiple Superforms on a page. Learn more. |
| Any valid step name | Defines individual steps within the form. Learn more. |
|
| Directs navigation to specified steps or based on custom logic or hooks. Learn more. |
|
| Ability to use |
| JavaScript Logic | Evaluates JavaScript expressions to determine navigation paths based on form data or conditions. Supports multiple conditions by using suffixes (e.g., |
|
| Specifies the step to navigate to if the associated suffixes (e.g., |
|
| Defines a fallback step if none of the |
|
| Resets the form's data, progress and takes the user back to the first step. Learn More. |
|
| Groups together a set of checkboxes. Learn More. |
|
| Tags a form element that will be used as a native progress bar. Learn More. |
Variables
Variable | Description | Usage |
---|---|---|
| Represents the form data values within Superform | $f.fieldName |
| Reveals current step index | $s |
| Tracks the progress percentage (%) | $p |
| Scoring variable | $v.variableName |
| Automatically ranks scoring variables based on their values in descending order | $v._rank[number] |
Last updated