Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Textfield hidden and visibility based on condition

$
0
0

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


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>