Skip to main content
Nintex Community Menu Bar
Question

Change field label background color in field editor

  • July 10, 2024
  • 0 replies
  • 7 views

Forum|alt.badge.img+8

I have the following field render that changes the background color of a field in a field editor. I also need to change the background of the label. Is that possible using a custom renderer?

var field = arguments[0], value = arguments[1], $ = skuid.$; var PriorityColor = field.row.PriorityColor\_\_c; if(field.metadata.accessible){ field.element.css({'color': 'white', 'background-color': PriorityColor,'min-height':'10px'}); skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value); }