How to change the background of the form using radiobutton?

  • Profile Image
    natupote
    Asked 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
    Chriistian
    Answered 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.