Every webform element has a little section like this:

Form display section with Title display, Description display, and Help display all set to " - Default -"

Where can one set these defaults, for Title display location, Description display location, and Help display location?

It does not appear to be in any of the webform overall settings or webform specific settings.

If it's the default for the element type, is there a programmatic way to override the default (but not if set for an individual element)?

Doesn't matter much whether setting or overriding this default on a sitewide or webform-specific level, just want the ability to switch Title display from "Inline" to "Before" for all the elements on a form, as design requests change, without having to edit all individually.

  • 1
    Export the config, edit all the webform.FORMNAME.yml files in your config/sync directory, re-import the config. Your favourite IDE will happily search-and-replace them all in one shot. (Before exporting, change one field to get the old and the new config values to be switchted.)
    – Hudri
    Jun 14, 2021 at 12:34
  • Found the "Default description display" setting at /admin/structure/webform/config/elements which makes me think the lack of Default title display setting is an oversight— on my part or webform's!
    – mlncn
    Jun 14, 2021 at 12:38

1 Answer 1


It looks default title display is set in Drupal core:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.