Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Where does the error msg that shows on a form set this styling? I have the proper style sheet for .required, but I'm trying to find where/how this is generated.
The reason is I'm doing another validation on a form field and I want to error msg to look identical. The jquery validation works great and the error msg shows up, but it's just not styled.
Nevery mind. I figured it out. OMG - this spanked me.
The answer was basically there is a default setting for errorClass that I simply added to the css style sheet to be the same as .required. Wored perfectly...uggggg
Everything is so simple once you get your head around it. It took me 4 days to figure out 4 lines of code. I hate when that happens.