Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forĀ
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)
Inside an if condition you could set this with jquery
$("#yourControl").css("background-color","yellow");