> For the complete documentation index, see [llms.txt](https://bmg.gitbook.io/form/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bmg.gitbook.io/form/quickstart.md).

# Quickstart

***

## **\[THESE ARE LEGACY DOCS. PLEASE CLICK THE LINK BELOW TO FIND UP TO DATE DOCUMENTATION:]**&#x20;

## <mark style="color:green;">**<https://www.studioform.pro/docs>**</mark>

### StudioForm Library:&#x20;

<https://bmg.studio/form/library> (Useful for a good quick start without having to read all the documentation)

***

{% embed url="<https://www.loom.com/share/d554879b62ee4575abbc0042b2d4304a>" %}
Demonstration of the core functionalities of StudioForm
{% endembed %}

***

{% embed url="<https://www.loom.com/share/645505d6b9dd480c9d5bf0d59a668756?sid=fba9fb89-45e6-4ff2-b06c-278548ac5be2>" %}
Setting up your first StudioForm instance in your project
{% endembed %}

***

STEP #1

### Copy the StudioForm \<script> and paste into the \<head> of your page

```html
<!-- [BMG] StudioForm -->
<script>document.head.insertAdjacentHTML('beforeend','<style sf-css>[sf="wrapper"]>form>*:not(:nth-child(1)){display:none}</style>');
window.StudioForm = window.StudioForm || []; window.StudioForm.push(() => document.querySelectorAll('[sf-css]').forEach(e=>e.remove()))</script>
<script defer src="https://cdn.jsdelivr.net/npm/@bmg.studio/form@1/sf.js"></script>
```

{% embed url="<https://twitter.com/lowcodeapps_/status/1785933983362044285>" %}
<http://unpkg.com/@bmg.studio/form@1/sf.js>
{% endembed %}

***

STEP #2

### Implement in Webflow — Apply attributes to elements on the page

Below is a list of elements and options that are used to create this Attributes functionality. Click any of them to see more details.

<details>

<summary>WRAPPER — I want this [Form Block] to become a StudioForm</summary>

Description:

The "wrapper" attribute on the form block is the one absolutely mandatory attribute that you must set in order for your Webflow forms to become StudioForms.

The functionality is generated dynamically based on the elements within this form block.

\---

Name =&#x20;

```
sf
```

Value =

```
wrapper
```

\---

![](/files/W9PCmGUMwO18Rev18nip)

</details>

<details>

<summary>SLIDE — I want this [DIV] to become a slide</summary>

Description:

All child elements of the Webflow "Form" element that are not dividers are automatically classified as slides.

No further attribute is required.

\---

![](/files/C2OfQRrnFjqZ8DOfl3CM)

</details>

<details>

<summary>[Option] DIVIDER — I want this [Div] to only show inside of Webflow</summary>

Description:

The "divider" attribute is set to elements that are located within the form block.

After successful initiation, these divider elements are removed from the page.

\---

Name =&#x20;

```
sf
```

Value

```
divider
```

\---\ <br>

![](/files/ocpad4liPC1j8dK7QSpI)

</details>

***
