This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Color @ Error Highlighted Fields


  1. ConnecTED
    Member

    Hello, I need your help please.

    How can I change the color of the highlighted error boxes (background/boarder color/letter color) when the user is submiting a form and Machform finds and highlighting the problematic fields?

    Thank you in advance for your support.

    Posted 11 years ago #
  2. yuniar

    You can edit your form's theme, click the "Advanced CSS" menu item and put this code:

    #main_body form li.error {
        background-color: #FFDFDF !important;
        border-bottom: 1px solid #EACBCC;
        border-right: 1px solid #EACBCC;
    }

    adjust the above colors with your own colors of course.


    MachForm Founder

    Posted 11 years ago #
  3. ConnecTED
    Member

    Thank you a lot!

    And if i want to change the background and the color of the text in the error notification that it was with white background ?

    The color of the text:

    ''There was a problem with your submission.

    Errors have been highlighted below.''

    and the color of the ''highlighted''.

    Thank you once again for your excellent support!

    Posted 11 years ago #
  4. yuniar

    You can add this code:

    #error_message_title{
      color: #DF0000;
    }
    
    #error_message_desc strong {
        background-color: #FFDFDF;
        color: #FF0000;
    }

    adjust the color code as needed.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply