Developer
Overview
If you aren't testing storefront speed or styling a Hyvä theme, leave this whole group as it is. Two of its settings are experimental, and the Hyvä classes decide how every form field looks on a Hyvä store. The Developer group changes how WebForms loads forms on the storefront. With the Hyvä package installed, it also holds the style classes of form elements.
Go to Stores → Configuration → MageMe Extensions → WebForms and expand Developer. It's the last group on the page. All settings here are Store View scope: each store view can have its own value.
Settings
Frontend Performance
| Setting | Scope | Default | Description |
|---|---|---|---|
| Manifest-Based Asset Delivery | Store View | No | Experimental. Loads form stylesheets from the declarative asset manifest instead of per-template links. Leave disabled unless testing. |
| Fetch Slide-Out Form on First Open | Store View | Yes | Yes (default): fetch the form when a visitor first clicks the slide-out button. No: include the form in the page, but start its scripts and field widgets only when it is opened. On Breeze themes the form is always included. A form limited to customer groups, or one that differs between visitors, is always fetched on first open, on Breeze themes too. |
| Lazy Field Widgets | Store View | No | Experimental. Loads heavy field widgets (rich text editor, colour picker, searchable select) on approach instead of on form render. Leave disabled unless testing. |
| Prefetch Forms When Idle | Store View | No | Loads up to two forms whose buttons are in view while the page is idle, so they open faster. Not used when the visitor's browser asks to save data or the connection is slow (2G). The small shared form engine may load separately to make the first open faster. |
Hyvä Theme CSS Classes → Form Layout
| Setting | Scope | Default | Description |
|---|---|---|---|
| Form CSS Class | Store View | flex flex-wrap items-start content-start gap-x-[var(--wf-gap-section,32px)] | |
| Fieldset CSS Class | Store View | Prefilled (long value) |
Hyvä Theme CSS Classes → Field Layout
| Setting | Scope | Default | Description |
|---|---|---|---|
| Field Block CSS Class | Store View | mt-5 min-w-0 grow-0 shrink-0 |
Hyvä Theme CSS Classes → Input Elements
| Setting | Scope | Default | Description |
|---|---|---|---|
| Text Input CSS Class | Store View | Prefilled (long value) | |
| Textarea CSS Class | Store View | Prefilled (long value) | |
| Select CSS Class | Store View | Prefilled (long value) | |
| Radio Button CSS Class | Store View | Prefilled (long value) | |
| Checkbox CSS Class | Store View | Prefilled (long value) | |
| Time Input CSS Class | Store View | Prefilled (long value) |
Hyvä Theme CSS Classes → Labels and Messages
| Setting | Scope | Default | Description |
|---|---|---|---|
| Fieldset Label CSS Class | Store View | text-xl font-bold leading-7 tracking-[-0.01em] text-[#0f172a] mb-0 pb-0 border-0 | |
| Field Label CSS Class | Store View | inline-block mb-2 text-[13.5px] font-semibold text-[#1e293b] | |
| Radio Label CSS Class | Store View | inline text-[#333] | |
| Checkbox Label CSS Class | Store View | inline text-[#333] | |
| Field Comment CSS Class | Store View | mt-2 mb-0 text-[13px] leading-[18px] text-[#333] | |
| Validation Message CSS Class | Store View | Prefilled (long value) | |
| Success Text CSS Class | Store View | px-4 |
Notes
WebForms marks Manifest-Based Asset Delivery and Lazy Field Widgets as experimental and says to leave them off unless you're testing. Ask your developer to try them on a test copy of your store before you turn them on for customers.
Fetch Slide-Out Form on First Open affects only the slide-out form, the form that opens from a button on every page. With Yes, pages carry the button without the form, and WebForms fetches the form the first time a visitor clicks it. With No, every page carries the form itself; its scripts start only when a visitor opens it. See Popup and slide-out forms and the Slide-Out Form settings in Storefront Forms. A form limited to customer groups, or one that differs between visitors, is always fetched the first time a visitor opens it, whatever this setting says, on Breeze themes too.
Prefetch Forms When Idle is No by default. With Yes, while the page is idle, WebForms loads up to two forms whose buttons are in view, so they open faster. It doesn't do this when the visitor's browser asks to save data or the connection is slow (2G).
Lazy Field Widgets affects Editor and Color fields, and Select fields with Show Search Box on.
Hyvä Theme CSS Classes appears below Frontend Performance only when the WebForms package for Hyvä is installed. In WebForms 3 this group was called Hyvä Theme Developer and held the same 16 settings. Its settings hold style classes: the short names Hyvä themes use to set layout, colors and sizes. WebForms puts them on form elements on a Hyvä storefront. Each setting comes filled in with the classes WebForms ships. Where that list is long, the table says "Prefilled (long value)" and the admin shows the full list.
When an update ships new classes, a setting that still holds classes WebForms shipped before follows the new ones. A class list you changed yourself stays as you wrote it.
- As the admin says, a class list you change takes full control of that element. The matching Appearance settings, such as Accent Color, Input Corner Radius or Error Color, stop working for it.
- If you empty a setting, that element loses the classes WebForms gives it, and with them its WebForms look.
To go back to the shipped classes at Default Config, select Use system value next to the setting. At a website, select Use Default. At a store view, select Use Website.
To change colors and the input corner radius, use Modern Field Style in Appearance instead. Those settings apply on Hyvä as long as the shipped class lists stay in place. For how forms are styled on each theme, see Luma, Hyvä and Breeze and the Styling contract.