# Trigger a Popup form via theme button

### 🆔 1. Find your Form ID

First, you need to identify the unique ID for the form you want to display.

1. Open the form app > go to the **Forms** list
2. Look at the ID column on the left side (e.g., `MTI1ODc3`)
3. Copy the ID for the form you wish to use

<figure><img src="/files/gyRcYDD0Kn13kAf1b4Wp" alt=""><figcaption></figcaption></figure>

***

### 🔗 2. Create the Trigger Link

To make the button open the popup, you must format the link exactly like this: `#powerful-form-YOUR_FORM_ID`

Example: If your Form ID is **MTI1ODc3**, your trigger link will be: `#powerful-form-MTI1ODc3`

***

### ✏️ 3. Add the link to your Theme Editor

Now, apply this link to the button within your Shopify Theme.

1. From your Shopify Admin, go to **Online Store > Themes > Edit theme**
2. Navigate to the section containing the button you want to use

<figure><img src="/files/szt4YFcd4uNCxFfpy1VP" alt=""><figcaption></figcaption></figure>

3. In the Button link field, paste the trigger link of the form (e.g., `#powerful-form-MTI1ODc3`).

> `MTI1ODc3`  is the form ID

<figure><img src="/files/T4Vdda0RpiJFiLcFIB2y" alt=""><figcaption></figcaption></figure>

4. Click **Save**

***

### 🧪 4. Testing the Popup

To ensure everything is connected correctly:

1. View your live website.
2. Click the button you just edited.
3. The form should appear as a centered popup overlay.

<figure><img src="/files/EseIECIPYyuvtwia1CyK" alt=""><figcaption></figcaption></figure>

***

**Need More Help?**

If you still need assistance, please contact us at [**support@powerfulform.com**](mailto:support@powerfulform.com). Our team will be happy to help you resolve any issues or guide you further.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerfulform.com/display-and-placement/trigger-a-popup-form-via-theme-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
