Hello,
please help me to solve this easy question.
I have 4 different fields with binding to the same element from interface, e.g. bindElement.
I need to hide these fields in case bindElement = Null and change values in case bindElement <> Null.
I'm using Formcalc:
For field 1:
if(HasValue($) == 0)
then $.presence = "hidden"
else
$.rawValue = "Field1"
endif
For field 2 (it should display value of bindElement):
if(HasValue($) == 0)
then $.presence = "hidden"
endif
For field 3:
if(HasValue($) == 0)
then $.presence = "hidden"
else
$.rawValue = "Field3"
endif
Now if I' changing Field 1, all fields getting value "Field1". And its wrong. Can I use rawValue or do I need another command?
Thanks!