# Password Restrictions

This option allows you to add a required code to the button. When you click on the option, a form will open where you have to enter the code. This code is **case sensitive**!

<figure><img src="https://1774748854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtm6qMMlpBMQxEyJRV1d%2Fuploads%2Fe3fcZGWk3JVP9tIJwsWc%2Fimage.png?alt=media&#x26;token=94e57cf1-b897-44c3-a9c9-9726169f7042" alt=""><figcaption><p>Password Restriction Form</p></figcaption></figure>

Once you submit the code, the embed will be updated. From now on, members who press the button must enter the code you submitted. If they don't, they can't use the button.

<figure><img src="https://1774748854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtm6qMMlpBMQxEyJRV1d%2Fuploads%2F0Dqfx0Y6vg0gBbpEMIUy%2Fimage.png?alt=media&#x26;token=5d5612ac-eb24-4a9d-bcf0-ef383363efee" alt=""><figcaption><p>Password Restriction Response</p></figcaption></figure>

<figure><img src="https://1774748854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtm6qMMlpBMQxEyJRV1d%2Fuploads%2FuaDQzOLtk7IvsoSMx9Fl%2Fimage.png?alt=media&#x26;token=1be357e8-93d9-407f-b9a5-3ff6bdba1d68" alt=""><figcaption><p>Response Incorrect Response</p></figcaption></figure>

{% hint style="info" %}
✨ This feature is only available for the Pro Tier
{% endhint %}


---

# 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.badbears.io/magic-embed-builder/magic-embed/components/password-restrictions.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.
