Skip to main content

Limit a form to customers

What it does​

Some forms are only for your customers: a trade order form for wholesale buyers, or a service request for people who have an account. Limit Customer Access keeps such a form for signed-in customers of the customer groups you choose. A guest stays on the page and sees "Please sign in to fill out this form." and a Sign In link instead of the form. This holds wherever the form is: on its own page, on a CMS or product page, or in a popup. After signing in, the guest comes back to that page, unless Guest Login Redirect sends them to another site (see Limits). Customers of other groups also stay on the page, but see a short note instead of the form.

You set it up in the form's settings, in the Access section.

Before you start​

  • The form is switched on, published and placed on your store. See Displaying forms.
  • The customer groups exist in Customers → Customer Groups, and your customers are in the right group.
  • To test it, you need a customer account of an allowed group and one of another group.
  • Login as Customer lets you open your store as a customer without their password. It works only for a customer who has allowed remote shopping assistance in their account. Otherwise sign in on your store with a test account.
Create a Bulk Order Form2:59 · starts at 1:23Watch on YouTube

Steps​

  1. Go to Content → WebForms → Manage Forms.
  2. Click the form's name.
  3. If the limit should apply to one store view only, select it in Scope at the top of the page.
  4. Click Access in the list of sections on the left.
  5. Turn on Limit Customer Access (it changes to Yes).
  6. In Allowed Customer Groups, select each group that may use the form.
  7. Click Save. A message that starts with "You saved the form." appears.

Check it as a customer​

  1. Go to Customers → All Customers and click Edit in the row of a customer from an allowed group.
  2. Click Login as Customer, then Login as Customer again in the window that opens. Your store opens in a new tab, signed in as that customer.
  3. Open the page with the form. The form appears.

Repeat with a customer from another group, and once more in a private browser window as a guest.

What you should see​

  • A customer of an allowed group sees the form and can send it.
  • A customer of any other group sees "This form is available to selected customer groups." where the form would be, with a way out: "Sign out and sign in with a different account, or contact us." The contact us link appears only while your store's Contact Us page is switched on. On the form's own page, the form's title stays at the top.
  • A guest sees "Please sign in to fill out this form." and a Sign In link. The link opens the Customer Login page. While Guest Login Redirect is empty, the guest comes back to the page with the form after signing in.

All three behave the same on Luma, Hyvä and Breeze store views, on the form's own page, on a CMS page that shows the form with a widget, and in a popup form. On a widget or a popup, a guest sees the Sign In link instead of being sent to the Customer Login page.

A popup titled Place a trade order on a Luma store: the note Please sign in to fill out this form and a Sign In button instead of the form
The same popup on a Hyvä store: the note Please sign in to fill out this form in the theme's callout style and a Sign In button

Limits​

  • The page stays open to guests wherever the form is placed: only the form is replaced by the sign-in note.
  • A slide-out of a customers-only form shows its button only to customers who may open the form. Guests and customers of other groups don't see the button at all.
  • Your store's page cache doesn't keep the form's own page. Each visitor gets the page made for them.
  • The Sign In link brings the guest back only to a page of the same store view under your store's own address. Anything else, such as another site or a page of another store view, sends them to the home page after signing in.
  • Having the form on a page doesn't change where other sign-ins take the customer, such as signing in to write a product review or to pay with PayPal Express. Only the form's Sign In link remembers the page.
  • The same applies to a product options form of the Product Options add-on that opens in a popup: a guest sees the Sign In link and comes back to the product page.
  • Allowed Customer Groups lists your customer groups only. There's no entry for guests, because the setting is about signed-in customers.
  • Guests go to your store's sign-in page, or the Sign In link leads there. To send them to another page, for example the page where they create an account, use Guest Login Redirect. See Settings: Advanced. A Guest Login Redirect on your own store still brings the guest back to the form's page after signing in. One that points to another site sends the guest there as it is, and what happens after signing in is up to that site.
  • Limit Customer Access and Allowed Customer Groups can differ for each store view.

Troubleshooting​

  • A slide-out button is missing for some visitors. The form is limited to customers, and the button shows only to customers of the groups in Allowed Customer Groups. Sign in with an account of an allowed group to see it, or turn off Limit Customer Access.
  • A customer sees "This form is available to selected customer groups." Their customer group isn't selected in Allowed Customer Groups. Check the group on the customer's account, then add it to the form or move the customer.
  • For other reasons the form doesn't show, see Form does not appear on the page.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026