Copy link to clipboard
Copied
HI I want to be able to have number change colors if the value is 0 its green and anything above is red. Can this be accomplished in the properties of a form that needs to have numbers. Please advise.
You will have to use a script to achieve that, in the field properties under 'Validate' tab → 'Run custom validation script' enter this:
event.target.textColor = event.value > 0 ? color.red : color.green;
Copy link to clipboard
Copied
You will have to use a script to achieve that, in the field properties under 'Validate' tab → 'Run custom validation script' enter this:
event.target.textColor = event.value > 0 ? color.red : color.green;
Copy link to clipboard
Copied
You are a life saver!!!! THank you Nesa!