Calculated Field output text color
-
Hello,
I tried to change the color of a calculated field’s output with this code
(function(){ var v =fieldname8+fieldname9+fieldname10, e = jQuery('#my-total-percentage'); if(v > 100) color = 'red'; if(v == 100) color = '#0DD13E'; if(v < 100) color = 'orange'; return e.css('color',color).html('~'+v+'%'); })()
but it returns
[object Object]
as output. What is the issue here.Also how do I prevent the mouse cursor from changing into “Text select” when hovered over a read-only calculated field?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Calculated Field output text color’ is closed to new replies.