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 of the form using radiobutton?

    Asked by natupote on June 21, 2016 at 02:04 AM

    Good night and sorry my english

    How i change the background of the form using radiobutton?

    for example, depending of the option selected in the radiobutton, the background changes 

    option 1 -> background 1

    option 2 -> background 2

    option 3 -> background 3

    A CCS code will help me a lot!

    Thanks for read and a special thanks for whos answer!

  • Profile Image
    JotForm Support

    Answered by Chriistian on June 21, 2016 at 02:33 AM

    Unfortunately it is not possible to change the background depending on the selected option using css code. You will need to use javascript to achieve your requirement. I believe the script provided in this guide is suitable for your requirement: https://www.jotform.com/answers/496429. To use the script on your form, you can also check out the additional instructions by my colleague Jonathan here: https://www.jotform.com/answers/865073

    Please do let us know if you need further assistance.