Change color of a field based on value

  • Profile Image
    TheAgents
    Asked on September 16, 2019 at 10:59 AM

    Is it possible for a field to have a red background until it's updated? Take for instance the linked jotform, The Account # field has a default value. I want that field to have a red background but I want the background to change to green once that field is updated. Is that possible?

    By the way, to see the Account # field, put cgrissinger@sealingagents.com as the Sealing Agents User and select "Existing Customer" for the Type of Customer. You'll then see the Account # field.

  • Profile Image
    TheAgents
    Answered on September 16, 2019 at 02:06 PM

    Can someone help me with this?

  • Profile Image
    Kiran
    Answered on September 16, 2019 at 02:18 PM

    Unfortunately, it is not possible to set conditions on the same field as the result field and to change the background of the field. It is either required to add a separate field with the required background color and show/hide them based on the conditions. Alternatively, you may download the full source code of the form and add custom Javascript code to achieve your requirement to host the file on your web server.

    Thanks!