Back Button
Last updated
Last updated
Attribute: superform-element = back
Apply to: div
, a (link block)
, button
, tag elements.
To navigate to the previous step in a multistep form, simply add the attribute to the element that triggers the previous step. Superform will automatically handle the transition to the previous step when the element is clicked.
There should be only 1 back button in each step.
If there are points scored from answers through your progress - all points collected until this step are removed when clicking a 'back' button.
It can't be placed in the first step of a multistep form.
🔮 Step teleport: add superform-goto = numberOfStep
to teleport back to another step.