# Require login to submit

This is perfect for member-only forms, wholesale requests, VIP services, or any form that should not be available to the public.

### 🛠️ How to Set It Up

1\. Open the app > click **Forms** > open a form you want

2\. In the form configuration, click **Setting** icon on the left side > click **General**&#x20;

<figure><img src="https://da76v9kevdkud.cloudfront.net/wp-content/uploads/2022/07/2024-05-22_10-59-23-1024x646.png" alt=""><figcaption></figcaption></figure>

3\. Tick on the checkbox **Required login** to enable this feature

<figure><img src="https://da76v9kevdkud.cloudfront.net/wp-content/uploads/2022/07/2024-05-22_11-01-48-1024x716.png" alt=""><figcaption></figcaption></figure>

4\. Edit required login message

5\. Click **Save**

***

### ✅ How It Works

#### Once **Login to Submit** is enabled, visitors must be logged in before they can access or submit your form. **🧍‍♀️ 1. Customer Visits the Form Page**

When a customer opens the page **without being logged in**, the form becomes locked.&#x20;

Instead of seeing the full form, they will see your login message, for example:

> “Please login to continue.”

Your store's login link is automatically included.

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

#### 🔑 2. Customer Clicks the Login Link

When the user clicks **login**, they are sent to your store’s Shopify login page: `/account/login`&#x20;

After logging in successfully, Shopify redirects them straight back to your form page.

#### 📝 3. Form Unlocks After Login

Once the customer is logged in:

* The full form becomes visible
* All fields can be filled normally
* They can submit as usual


---

# 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/~/revisions/KRfi0fHdeAFeAhiPrH7G/customer-fields/require-login-to-submit.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.
