Hi!

I'm using an Address form element in my form, of which only the City should be required.

If I make the address element required, the asterix is places after the Address element label, but there is no indication that only the city is needed. If I ONLY make the City required (and the Address not), there is no indication at all that the city should be filled in. Only after the submit, the error indicates that city needs to be filled in, which is great.

Is there a way to indicate users which sub-elements are required?

Comments

BarisW created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (outdated)
The Webform module's issue queue is for bugs, feature requests, and planning. Please post general support questions to Drupal Answers. You can also ask questions or help answer questions on the #webform channel on Drupal Slack.

If you are using the Address module, it does not support altering the sub-elements without using custom code.