Amasty Mega Menu
Overview
A mega menu can print the same content several times on one page, for example once for the desktop menu and once for the mobile menu. That matters when the content holds a form.
| What you put in the menu | What happens |
|---|---|
| A WebForms: Button With Popup button | Each click fetches a fresh copy of the form into its own popup, on Luma, Hyvä and Breeze, so copies of the button don't share one form. |
| The form itself, for example through the WebForms: Form widget | If the menu prints the form more than once, every copy has the same identity on the page. WebForms starts only the first copy. The other copies don't work as WebForms forms: fields aren't checked and sending may fail. |
To show a form from a mega menu, add a WebForms: Button With Popup button to the menu item instead of the form, and try it in the desktop and the mobile menu.
What's next
- Popup and slide-out forms: set up the popup button.