stxnext-csr / volontulo

Web portal for collaboration of community volunteers with organizations and institutions.
MIT License
14 stars 24 forks source link

Asterisks for required fields #402

Open filipgorczynski opened 9 years ago

filipgorczynski commented 9 years ago

For all forms there is no asterisk that indicates field requirement.

Yog commented 8 years ago

There is need for consistent appearance of fields that are required This can be done like this: image

or basic way: image

The first looks better, is CSS based, but needs a different approach for checkboxes.
The basic one fits everywhere, is element inserted into html template, but causes possible misalignments when the star takes up space inside of the label

Best if we find a way to customize different outputs of forms structure so we can insert a class on every field wrapper - basing on that class we can add star on any element that we want and style it accordingly.