> ## Documentation Index
> Fetch the complete documentation index at: https://docs.curebot.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Buttons and forms

> Add buttons that link, give roles or reply, and pop-up forms that collect answers.

## Buttons

Any design can have buttons. Each button does one thing:

| A button that… | Example |
| - | - |
| Opens a link | *Read the rules* → your rules page |
| Gives or takes a role | *Ping me for events* → toggles @Events |
| Replies with a message | *How do I verify?* → a saved answer, only the presser sees it |
| Opens a form | *Apply for staff* → a pop-up with questions |

Add them in the design builder (**Content → Designs**), or in a script, like `{button:label: Rules && url: https://… && style: primary}`. The [script reference](https://docs.curebot.site/studio/scripts.md#button-options) lists every option.

## Dropdowns

A dropdown is a menu of up to 25 options, under an embed or inside a container. Each option runs a saved script, opens a form or gives a role. In the builder, add a **Dropdown**, type the placeholder and each option right on it, then click an option's line to choose what it does. Under an embed, buttons and dropdowns share Discord's five rows. In a script: `{select:Pick a role|Red=role:123…|Rules=script:rules}`.

## Forms

A form is a Discord pop-up with questions: short answers, paragraphs, dropdowns, checkboxes. Forms are great for applications and reports.

**1. Build the form**

Ticket forms are built right in the [ticket panel](https://docs.curebot.site/server/tickets.md). Any other form is saved with `/automation form save name:apply script:{modal}$v…`: the [script reference](https://docs.curebot.site/studio/scripts.md#form-fields) shows the fields.

**2. Choose what happens on submit**

Post the answers to a channel, give or remove roles, and reply to the person.

**3. Open it from a button**

In the design builder, set a button's action to **Open a form** and pick it, or write `modal: apply` in a script.

> [!TIP]
>
> A form that removes an @Unverified role on submit makes a simple "agree to the rules" gate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.