How do I conditionally color background of division if value of checkbox field (named agenda__c) is true? Basically trying to highlight fields if the agenda checkbox is checked.
Page 1 / 1
Allison,
Would this post work for you?
https://community.skuid.com/t/change-background-color-of-an-edit-field
Thanks,
Bill
No, I get an error on the highlighted part
It looks like you’re mixing CSS and Javascript. CSS (the highlighted section) needs to be added separately, like through the CSS resource on the page or externally through a static resource or other location. All you should need to do in script is add the class.
Personally I try to avoid business logic in script and prefer to use parameters and to handle situations where data influences the UI. This post might help out for you.
https://community.skuid.com/t/css-for-template-fields
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.