Change record status: 
Project: 
Introduced in branch: 
8.x-5.x
Introduced in version: 
8.x-5.0-rc1
Description: 

Summary

Not everyone knows that * mean required. Sometimes it helps to include "* Indicated required fields" at the beginning of a webform. It all depends on the targeted audience.

  • Required indicator can be customized via form configuration (/admin/structure/webform/config)
  • Required indicator is only displayed if there are required elements.

Screenshots

Configuration

Form

Impacts: 
Site builders, administrators, editors
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done

Comments

lomale@bluewin.ch’s picture

This is a great feature. I solved the problem so far with an error message in red.

but I would have a suggestion. could it be placed beside the first required field and not on top. So it would be more consistent, logic. See picture but i can't place it in this case.

ABaier’s picture

Thanks for this feature Jacob! This is something I need pretty much in every form.

Nevertheless, I would also vote for a solution, where it could be moved to another position than before the form. Maybe just by overriding a twig template or even a new settings value.

I imagine this could be very extensive, thinking of the use cases … In my case, I would place it below the form, but before the form-actions.

Maybe you have something in mind.