+1-888-365-2779
Try Now
More in this section

Forums / Designing & Styling / Webform error

Webform error

2 posts, 1 answered
  1. Clint
    Clint avatar
    7 posts
    Registered:
    14 Apr 2014
    10 Jun 2014
    Link to this post

    My basic form has usability issues with the "Required Information" messages populating is black and without an Error Summary on top of the webform.

    I have done some desktop research and discovered that CSS classes can control the formatting. I have a global .css which doesn't include a reference to sfError. Is sfError the class that would format the font for this message?

    I also discovered the sfErrorSummary class for the error summary on top of the form, how do I add the error summary to the top of the webform?

    Many thanks in advance

     

    Answered
  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    12 Jun 2014
    Link to this post
    Hello Clint,

    In case you are using your custom Theme you need to style all the classes as per your needs or override the Basic styles.

    In order to have the error messages styled you have to add this declaration ".sfError" in your style sheets.

    Regarding the sfErrorSummary - such content is shown in case of any form restrictions and/or validation except the fields one. For example restriction one per user or Captcha validation.

    I hope this helps.

    Regards,
    Svetoslav Manchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 1 answered