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 text-box style based on condition

    Asked by southind on March 20, 2017 at 01:49 PM

    please help. i want to change the textbox background color and text color when user check the 'Completed' (checkbox) option. is there any way to do that?

    Page URL:

  • Profile Image

    Answered by southind on March 20, 2017 at 04:37 PM


  • Profile Image
    JotForm Support

    Answered by Mike on March 20, 2017 at 07:45 PM

    Unfortunately, it is not possible to achieve with CSS injection.

    It might be possible with custom javascript, but we do not support javascript injections in our form builder. However, if you get a form source code you can modify it and host on your web page.