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

    alternate colors

    Asked by Nickster on September 12, 2011 at 09:17 AM

    How can I have alternate colors for each form's line?

  • Profile Image
    JotForm Support

    Answered by abajan on September 12, 2011 at 11:48 PM

    Hi Nickster

    Thanks for asking. That can be accomplished with injected CSS. You will first need to find the ID of each field (Firebug is an excellent tool for this) and then apply a background-color declaration to every other field (actually, every other line because in some instances two or more fields will be on the same line).

    Inject the following CSS into your form, save it and then view the form at its URL:

    #id_46,
    #id_48,
    #id_43,
    #id_54,
    #id_21,
    #id_22,
    #id_26,
    #id_27,
    #id_30,
    #id_32,
    #id_34,
    #id_36,
    #id_38,
    #id_40,
    #id_42 {
    background-color:#F7DB8D;
    }

    This online tool was used to find a color that would blend with #F5D271.

    If you need additional help with this or any other aspect of our product, please let us know and we'll be happy to assist you as best as we can.

    Cheers


    ~ Wayne