More in this section

Forums / General Discussions / Styling the Form "This information is required" Errors

Styling the Form "This information is required" Errors

2 posts, 0 answered
  1. Robert
    Robert avatar
    49 posts
    21 Feb 2011
    04 Apr 2012
    Link to this post
    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?
  2. Veronica
    Veronica avatar
    125 posts
    30 Jan 2015
    06 Apr 2012
    Link to this post

    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:

    Please let me know if I understood your question or whether you need further help.

    Kind regards,
    Veronica Milcheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered