AnsweredAssumed Answered

Nintex forms - Set background Color of a control with CSS/Javascript

Question asked by prasannaadavi on Jul 14, 2016
Latest reply on Jul 14, 2016 by fhunth

I am using Nintex forms 2013. I have a need where I need to set the color of a specific single line text box control  based on its "name" (or a ClientID JS variable) and another condition.

 

I am already using formatting rules to achieve this, but I have multiple fields that I need to color, and writing rules and managing them for every control gets tedious. Hoping there is a central way to do this via CSS/JS.

 

I am imagining something like this:

 

If (

(nameofcontrol = ABC

AND

<myothercondition>)

then

Setbackgroundcolor = #FFFFFF)

Outcomes