> For the complete documentation index, see [llms.txt](https://deltaclan.gitbook.io/superform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://deltaclan.gitbook.io/superform/superform-v0/navigation-attributes/back-button.md).

# Back Button

## Information

**Attribute:** <mark style="color:red;">`superform-element = back`</mark>

**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.

<figure><img src="https://1615520621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhC4q4SkuRcLPZQrmF5BR%2Fuploads%2FCU6iiengO6BLsPAQGI5q%2Fimage.png?alt=media&amp;token=2f689e8e-5d92-495a-a1d0-611a3e2b3b1f" alt=""><figcaption></figcaption></figure>

## **Caution**

{% hint style="warning" %}

1. There should be **only 1 back button** in each step.&#x20;
2. If there are points scored from answers through your progress - **all points collected until this step are removed when clicking a 'back' button.**
3. It can't be placed in the first step of a multistep form.
   {% endhint %}

## **Upgrades**

🔮 Step teleport: add `superform-goto = numberOfStep` to teleport back to another step.
