Hello expert, I'm new on working with adobe livecycle designer, here I have a requirement to display certain value of a text field based on another textfield's value. Here is the scenario, I have 3 text fields, and the value are gotten from input data, let say textfield1, textfield2, and textfield3 If the value of textfield3 is null then textfield1 is invisible/hidden and textfield2 is displayed, but if the value of yextfield3 is not null, then the condition is reversed, I have tried to use the below script to meet the first condition (the value of textfield3 is null then textfield1 is invisible/hidden and textfield2 is displayed) but it doesn't work anymore, if (FormQuoteNotification.Page2.page2.Subform3.nama2.rawValue == null || FormQuoteNotification.Page2.page2.Subform3.nama2.rawValue == "")then FormQuoteNotification.Page2.page2.Subform3.nama1muncul.presence="visible"; else FormQuoteNotification.Page2.page2.Subform3.nama1muncul.presence="hidden"; end if
Are these answers useful? Help other community members by marking useful answers as accepted.
if you are using FormCalc language, ensure to not have a semi-colon before any code on the same line, the semi-colon in FormCalc is considered as a comment section.
Here is a document with references about FormCalc you can use within LiveCycle Designer.