Styling the Form "This information is required" Errors
I have been trying to figure out how (using CSS) to style the text for the "This information is required" messages that are displayed in a sitefinity 4.4 form. Checking the element in Chrome is always lists individual ones like: <div class="sfError violationMessageC002_ctl00_ctl00_ctl00_C001"> This information is required</div>
Is there something I can define in the CSS class I assigned to the form element?
Hi,
As I understand you want to get all error messages on a specific form and style them further. For that purpose you can first get them using jQuery selector by class and add your own css class:
$(
'.sfError'
).addClass(
"yourClass"
)