You are viewing beta documentation for Formie 4.x.
Fields
Section
Use Section when the form needs a visual divider between groups of fields.
Section is a cosmetic field. Use Heading when the break needs a title, and use Group when fields should be structurally grouped rather than only visually separated.
Key settings
- Border visibility - Show or hide the divider line.
- Border width - Set the divider thickness.
- Border color - Set the divider color.
- Visibility conditions - Show or hide the divider based on other form values when needed.
Submitted value
Section is cosmetic and does not save a normal submitted value.
Theme config
The Section field can be targeted with the section theme config key.
See Section Field theme config for the full list of field-specific theme tags.
{{ craft.formie.renderForm('contactForm', {
themeConfig: {
section: {
fieldSection: {
attributes: {
class: 'my-form-section',
},
},
},
},
}) }}Use theme config for divider classes, attributes and tag changes. Use a template override only when the section output needs to change globally.
For full Tailwind, Bootstrap and other framework examples, see Formie theme configs (opens new window).
Related fields
Last updated: June 2, 2026, 3:48:42 PM