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

    How to change the background color of Masked Input widget?

    Asked by flaviafigueiredo on May 02, 2017 at 07:07 PM
    is it possible to change the color of the Masked Input as the "Tipo de Variação de Peso"?
  • Profile Image
    JotForm Support

    Answered by Kiran on May 02, 2017 at 07:11 PM

     Please inject the following CSS code to the Masked Input widget to change the appearance as the other text boxes on the form.

    #maskedInput {

    background-color: #dddddd;

        border-radius: 2px;

        -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.2), 0 1px 0 rgb(255,255,255);

        -moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.2), 0 1px 0 rgb(255,255,255);

        box-shadow: inset 0 0 4px rgba(0,0,0,0.2), 0 1px 0 rgb(255,255,255);

        border: 1px solid #AEAEAE;

    }

    After adding this code, the masked input widget should be displaying as shown below:

    Hope this information helps!