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

Displaying different subforms based on a dropdown list

$
0
0

Hi,

Does anyone have a basic script to display different subforms depending upon the value in a dropdown list?  I have tried the following code in the change event of the dropdownbox, but it has no effect.  I am developing a form in Lifecycle Designer 8.2.

 

 

form1.test1.DropDownList1::change - (JavaScript, client)

 

if (this.rawValue=="1")

 

subform1.presence="visible"

else

if (this.rawValue=="2")

subform2.presence="visible"

else

subform1.presence="invisible"

 

Please can anyone advise me?

 

Thanks

 

 

subform2.presence="invisible"

 

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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