Skip to main content
Nintex Community Menu Bar

Nintex Online for Office 365 Form: How to set item wise background of Choice Field

  • March 6, 2020
  • 0 replies
  • 5 views

Forum|alt.badge.img+1

In Nintex Online for Office 365 Classic Form, you can set the backgroud color of choice field but not item wise.

 

Here is the solution of above issue.  

 

Suppose we have a choice field (Radio Button) "Category" with three values Minor, Moderate and Major. 

 

NWF$(document).ready(function(){
	NWF$("span[data-nfchoicevalue='Minor']").parent().css("background-color","green");
	NWF$("span[data-nfchoicevalue='Moderate']").parent().css("background-color","yellow");	
NWF$("span[data-nfchoicevalue='Major']").parent().css("background-color","red"); })

Output:

6705iDDB2463957523D10.jpg