Forum Discussion
PaulPeterson1
5 years agoQrew Assistant Captain
You can use inline CSS properties to change the color of the button in the formula.
The approach I normally use is to create a variable containing the formula for the button then use an if statement to display the button I want to see.
for example:
var text buttonOne = formula one;
var text buttonTwo = formula two;
If(condition, $buttonOne, $buttonTwo)
------------------------------
Paul Peterson
------------------------------
The approach I normally use is to create a variable containing the formula for the button then use an if statement to display the button I want to see.
for example:
var text buttonOne = formula one;
var text buttonTwo = formula two;
If(condition, $buttonOne, $buttonTwo)
------------------------------
Paul Peterson
------------------------------
ROBERTSACHS
5 years agoQrew Cadet
Paul, thanks for the response. However, perhaps my question suggested that I had a greater sophistication than in fact I do. I get the concept of what you are saying, but have no idea how to implement. Can you provide sample code?
------------------------------
ROBERT SACHS
------------------------------
------------------------------
ROBERT SACHS
------------------------------