This is what we did on our forms for required fields (we have this in our
"override" css file that preserves the original Bootstrap CSS for easy
upgrading:
/* For Required fields - puts a yellow background color on inputs */
input.highlight, select.highlight, textarea.highlight {
background-color: #FFC;
}
It puts a subtle yellow background on the required fields, and is easy to
add (just add "highlight" as a secondary class on all required fields). We
also put a notification on the page alerting the user that highlighted
fields are required.
On Wednesday, August 31, 2011 3:10:27 AM UTC-5, Muhammad Yousuf Tafhim
wrote:
>
> I see there are no styles for required form fields or is it that im
> missing the class?