Cheatsheet

List of essential attributes and variables.

Summary

Essential attributes

Variables


Essential attributes

Attribute
Options
Description

sf

Any valid form name

sf-step

Any valid step name

sf-goto

next, back, prev, +1, -1, step-name, logic(), hook(hookName)

sf-force-goto

true

sf-logic

JavaScript Logic

sf-logic-goto

step-name

Specifies the step to navigate to if the associated sf-logic condition is true. Supports corresponding multiple rules with

sf-logic-fallback

step-name

sf-reset

true

sf-checkbox-group

group-name

sf-el

progress-bar


Variables

Variable
Description
Usage

$f

Represents the form data values within Superform

$f.fieldName

$s

Reveals current step index

$s

$p

Tracks the progress percentage (%)

$p

$v

Scoring variable

$v.variableName

$v._rank

Automatically ranks scoring variables based on their values in descending order

$v._rank[number]

Last updated