Hi all,
I am a bit confused...
I set the Default of a text input (which is within a data card, hence the Parent.Default) to:
If(
cvar_call_now = true,
Text(Now(), "hh:mm");
UpdateContext({cvar_call_now: false}),
Text(Parent.Default, "hh:mm")
)
If I have understood everything right so far this should not result in ant problems. It does however generate an error "expected operator" without specifying where it actually wants an operator. I assume the semi-colon after the Text(Now()) is the offender because I added the Update Context just before the error occurred.
What's my mistake here? I was under the impression that one could place any number of lines within the result of a condition as long as ";" is used to separate those lines (many posts here on the forum told me so).
It is definitely not the fact that I am changing the variable that lead into this branch of the condition (thought that might be the case and just made it update any random variable).
TIA for all the good ideas
Hansjoerg