Skip to content

Conversation

@ekes
Copy link
Member

@ekes ekes commented Dec 11, 2025

Just that. It'll add '(optional)' to the titles of elements on a webform that are not required.

To test use the branch, and then go to /admin/structure/webform/config and check the Third Party setting
image

  • Expected behaviour (optional) added to the titles of elements that aren't required. Will also work with conditionals.
  • Undesirable behaviour to look-out for: there might be elements that need to be excluded from the automated change (at the moment this is single checkboxes and radios, and every element of an address if all elements are optional -- but there might be, probably are, more we want to exclude).

@ekes
Copy link
Member Author

ekes commented Dec 11, 2025

Ah I should push this to drupal.org meh.

@ekes
Copy link
Member Author

ekes commented Dec 11, 2025

git.drupal.org version of this MR https://git.drupalcode.org/project/localgov_forms/-/merge_requests/3

@ekes
Copy link
Member Author

ekes commented Dec 11, 2025

Closing this in preference to the drupal.org one because well there's the up to date code.

@ekes ekes closed this Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants