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

Unable to access multiple instance objects in HTML

$
0
0

Good afternoon,

 

I have a button setup to add a subform instance when clicked. I have another button inside that subform that displays a hidden text with a button toggle.

 

The code I'm using to add an instance is: this.resolveNode('Subform1._Subform2').addInstance(1);

 

The code that is working for the PDF view to display hidden text is:

if(txtPlanKey.presence == "visible"){

          txtPlanKey.presence = "hidden";

}else{

          txtPlanKey.presence = "visible";

}

 

The issue seems to be when I add a new instance the logic does not carry over to the newly created subform.

Is this even possible for the HTML view? If so I could really use some help. Thank you!

 

 

james


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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