Hi Experts,
I am a beginner in Adobe Forms and right now i am trying to print a Static text based on condition.
I have added a Subform in my form and in the Subform have added a TextField and a StaticText.
In TextField in Binding i have bound the value for TextField and based on this value i am writing the if condition for the Subform in Script Editor.
The code is as follows.
if (data.second-page.header.text.ALTERNATIVE301.TextField1.rawValue == "CHAA")
this.presence = "visible"
then
this.presence = "hidden"
endif
The code does not work and the static text is not getting printed based on the condition i gave.
Please help
Thanks.