What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Change the warning's background color on my WordPress form?

    Asked by karen77 on October 12, 2012 at 11:39 PM

    Hi,

    I dont want the background to be red when someone doesn't fill in all of the proper info. I also want the field to be shorter for the error message.

     

    If I download the "compressed and refined version with seperate .css and .js files"

    Where do I add these files in my Wordpress theme? 

    Thanks very much,

    KP

     

    Better yet, can I just have a pop-up that says which fields are not correct?

    Page URL:
    http://lavenderhcs.com/employment-application/

    Screenshot
  • Profile Image
    JotForm Support

    Answered by Rodjit on October 13, 2012 at 12:27 AM

    Hi KP,

    For changing your background color, you need to inject CSS codes;

    .form-error-message {

    background:#FFF !important;

    }

    Note: Change #FFF (which is the color) to your preferred background color.

    To adjust the width of the error message field, same as above, inject this codes;

    .form-line-error .form-error-message {

    width: 150px;

    }

    Note: Change 150px to your preferred size.

    If I download the "compressed and refined version with seperate .css and .js files" Where do I add these files in my Wordpress theme? 

    -Add this files to your WordPress directory (public html)

    Better yet, can I just have a pop-up that says which fields are not correct?

    -This is possible but a bit tricky. Also, we do not recommend to add additional JS Scripts in every forms you create.

    Hope this helps and let us know for any questions. We'll be glad to assist.

    Thanks