Hi,
I think this will be an easy fix just unsure how to do it.
I have an app in which users input a number into a textbox, I have coded the Fill Button of the TextInput so that it changes colour depending on the value inputted, my code is below:
My issue is that when the TextInput is blank, it is filled Red as the code is saying Fill Red if less than 16.85. I want the TextInput to just be white if it is blank. How can I do this whilst maintaining my current code?
If(
Value(TextInput_Tempering_Bin_Rear.Text) <=16.85,
Color.Red,
If(
Value(TextInput_Tempering_Bin_Rear.Text) >=16.86 && Value(TextInput_Tempering_Bin_Rear.Text) <=17.15,
Color.Yellow,
If(
Value(TextInput_Tempering_Bin_Rear.Text) = 17.50,
Color.Green,
If(
Value(TextInput_Tempering_Bin_Rear.Text) >=17.51 && Value(TextInput_Tempering_Bin_Rear.Text) <=17.84,
Color.Yellow,
Color.Red
)
)
)
)