Problem/Motivation
#3568633: Wrap Name field widget in a fieldset changed the markup for the name widget to a fieldset with no option to revert to the previous markup. While a reasonable change, it was a (moderately) disruptive change for existing forms, particularly for front-end forms (Contact module), adding an unexpected maintenance task for style sensitive sites.
This is a feature request to add a widget configuration option to choose the wrapper markup. Other notable modules, including Address have a similar option.

Steps to reproduce
Upgrade to version 8.x-1.2 on site with an existing Contact form (or any form using the Name field widget).
Proposed resolution
Add an option to select a different container for name fields.
Remaining tasks
Introduce a new widget wrapper configuration option.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2026-05-04 10-36-19.png | 23.05 KB | scottsawyer |
Issue fork name-3588296
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bluegeek9 commentedComment #4
bluegeek9 commentedComment #6
bluegeek9 commented