Show the calculated traffic light color next to or in the correponding field

nav21
Tera Contributor

the calculated traffic light colors for the financials (old page) should be shown next to the respective fields.
This should be done with coloring the field background.

Fields to be colored:
Total Project Cost Forecast --> calculation as per Budget KPI
Total Project Customer result Forecast --> Calculation as per Customer Result KPI

 

Implementation:

insert the calculation for Budget KPI, Customer Result KPI, Customer Satisfaction index 

1 REPLY 1

Samaksh Wani
Giga Sage
Giga Sage

Hello @nav21 

 

You need to write a onLoad() Client Script :-

 

function onLoad() {
    //Type appropriate comment here, and begin script below
    var field = g_form.getElement('fieldname');   // You can give your condition 
    company.style.backgroundColor = "red";
  
}

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh