Making optional form fields more obvious
February 17, 2012 by Jean
Optional form fields now have an additional fOptional CSS class, which allows to use CSS to distinguish them from required fields (usually displayed in bold). All standard UGAL forms and website themes have been updated, making it more obvious that the following are optional:
- Phone number in the contact form.
- Website URL in the news comment form.
- Company name in the checkout and donation forms.
If you are using a custom theme for your website, you need to add a simple line of CSS to unbold the optional labels:
label.fOptional {font-weight:normal;}
Please contact us for assistance updating your CSS files, we will be happy to do it for you.
