I am attempting to use an If statement inside the "Default" property of a Data Card Value (DataCardValue23) and assign the default property (the displayed text in DataCardValue23) based upon the result of the condition. In this case, the condition is whether an input text (DataCardValue19) is less than or equal to (<=) a number (6.2), if this case is true, we should return "Unavailable" to the Default property of DataCardValue 23. Here is my current formula in the Default property of DataCardValue23:
If(
Value(DataCardValue19.Text) <= 6.2, "Unavailable"
)
Note: DataCardValue19 is located inside a DataCard (Left_DataCard) which is contained in a Form (Form3). I have not submitted the form, as I want the text to populate DataCardValue23 before I submit (when a user enters a number <= 6.2 in DataCardValue19).
Where am I going wrong? Thanks!