Form does not appear on the page
Symptom
You expect a form on a page of your store, but the form is not showing on the storefront. The page shows one of these instead:
-
Nothing where the form should be.
-
The text "Web-form is not active." where the form should be.
-
The standard Magento contact form on your contact page.
-
A different WebForms form on your contact page.
-
The Customer Login page, for a visitor who isn't signed in.
If the form is there but shows old content, see Changes in the builder do not show on the storefront.
If the form is there but some fields or the Submit button are missing:
- A show-or-hide rule may hide them until the visitor gives a certain answer. See the troubleshooting of Show or hide fields and sections.
- Fields you added recently may still be in an unpublished draft. See Changes in the builder do not show on the storefront.
- If Submit is there but stays greyed out, see Submit button does nothing.
Checks
Go through these in order and stop at the first one that matches.
- Check first: the form is enabled. Go to Content → WebForms → Manage Forms and find the form. Look at the Status column. If it shows Enabled, this isn't the cause. A disabled form shows "Web-form is not active." on its own page and in a widget that shows it.
- The form is placed on that page. A form shows only where you put it: in a page or block through a widget, on the contact page, in a popup or slide-out, or at its own page address. If you added the form to this page, this isn't the cause.
- The contact page uses your form. Skip this check if the form isn't meant for the contact page. Go to Stores → Configuration → MageMe Extensions → WebForms, expand Storefront Forms and then Contact Page. If your store has several store views, first select the one with the problem in Scope: these settings can differ for each store view. If Replace Contact Page is Yes and Form to Use shows your form's exact name, this isn't the cause. Watch for a number in brackets: Contact Us and Contact Us (2) are different forms.
- No other form uses the contact page's address. In Content → WebForms → Manage Forms, open the
form that appears on your contact page instead of yours. Click Placement and look at
URL Key. If it isn't
contact, this isn't the cause. A form's own address wins over the contact page, so a form with this URL key replaces it. - The form is meant for guests and open to them. Skip this check if the form is for signed-in customers only. Open your form and click Access. If Limit Customer Access is off, this isn't the cause. While it's on, a visitor who isn't signed in is sent to the Customer Login page. After signing in, a customer from a group in Allowed Customer Groups sees the form.
Expected result
Open the page in a private browser window, as a visitor would. Your form appears where you placed it, and "Web-form is not active." is gone. For a form limited to customers, sign in first as a customer from an allowed group.
Fix
- If check 1 failed: click the form's name to open it. Under General, turn on Enable Form (it changes to Yes). Click Save. A message that starts with "You saved the form." appears, and the Status column shows Enabled.
- If check 2 failed: put the form on the page. See Displaying forms for each way.
- If check 3 failed: in Replace Contact Page, select Yes. In Form to Use, select your form. Click Save Config.
- If check 4 failed: in that other form, change URL Key to an address no other page uses, for
example
contact-form, and click Save. Links that pointed to that form's old address now open your contact page instead, so update them if you used them. - If check 5 failed: turn off Limit Customer Access and click Save.
- Still not working: contact MageMe support with the page address and the name of the form.
Related
- Quick start: put a form on your contact page step by step.
- Changes in the builder do not show on the storefront: the form is there, but your latest edits are missing.
- Form looks unstyled or broken: the form is there, but its layout is wrong.
- Storefront Forms settings: what each contact page setting does.