Form widget element
Place a builder form on any page or component with one element bound to the form by its id.
Form Widget is a builder element in the Form category. You drop it on a page and pick a form from the list; the element stores the form id in the attribute dh-form-widget. The widget HTML is generated by the platform from the form config, so the page always shows the current version of the form. It outputs a form.dh-fb element with the config embedded as JSON, steps, a 12 column grid of fields, actions and success/fail blocks.
How it works
- Output markup: form.dh-fb[dh-form=<id>] > script.dh-fb-config (JSON) > .dh-fb-step > .dh-fb-grid > .dh-fb-field (.dh-fb-label, .dh-fb-input / -textarea / -select-trigger / -radio-group / -checkbox-group / -toggle, .dh-fb-error), .dh-fb-actions (.dh-fb-prev, .dh-fb-next, .dh-fb-submit), .dh-fb-success, .dh-fb-fail. Multi-step forms get data-steps.
- A hidden honeypot input dh-protection is rendered when the honeypot is on.
- There is also a Membership Form element (membership-form-widget) that belongs to Memberships.
When to use it
- Put the same contact form in a footer component and on a contact page
- Swap the form on a landing page without touching the layout
Limitations
- Elements inside the widget are not builder nodes; style them with descendant selectors on the widget's class.
Availability
- Works in Designer, AI Studio and MCP.
How to use it.
- In the builder add the Form Widget element (Form category).
- In its content panel choose the form.
- Give the widget a class and style descendant states such as ' .dh-fb-input'.
Related features.
Visual form builder
Build forms field by field on a canvas with a field palette, a settings sidebar and drag and drop ordering.
Form custom styling
Style forms with the normal Designer tools: hand-made forms as regular elements, builder forms through their documented class names.
Custom HTML forms
Build a form from native form, input, textarea, select and label elements and connect it to a Divhunt form for storage and delivery.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→