Is it possible to use on field in a table to change the color of another field.
I suspect the snippet looks something like this?
var field = arguments[0], value = arguments[1], $ = skuid.$;
if(field.metadata.accessible)
{ if(value === ‘Primary’)
{
// do CSS stuff here…
field.element.css({‘background-color’:‘#c6e28e’,‘min-height’:‘10px’, ‘padding’: ‘0px 0px 0px 0px’,‘border-radius’: ‘4px’, ‘color’: ‘#000000’});
} }
See video
https://docs.google.com/file/d/0B409lhd9sYDcVU5qa19ETkZLalk/edit
Question
use snippet to change field color
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.





