I am banging my head around a tiny equation which gives 'blue underline' error.
The equation is;
If(IsEmpty(Value2.Text), DisplayMode.Disabled, DisplayMode.Edit)
If(IsEmpty(Value2), DisplayMode.Disabled, DisplayMode.Edit)
This gives me "Expecting a true or false value. The current value may cause unexpected behavior"
Plz tell me I am not going mad.
Solved! Go to Solution.
I think the issue lies within 'Value2' rather than the formula.
Just tested this myself with a textinput field that is called 'Value2' and both statements you listed work without error.
What exactly does Value2 refer to - a variable?
In that case you may need to change the statement to say If (Variable2 = "", DisplayMode.Disabled, DisplayMode.Edit)
It would be nice if MS put a suggestion linking Display Mode and Visibility in the Help notes/field as this is (apparently) something many of us have [still] done by mistake.
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021