When a field is required, Simple form adds a class of required
to the container wrapping the input and label.
I would like the class added to be is-required
instead of required
, but I can find no configuration option to specify the class.
Is this possible?
You might try this:
But I recommend testing thoroughly (as I haven't)!