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

Accessing objects on one master page, to change all examples of that master page

$
0
0

Hi,

 

I am currently developing a form, where my master page contains 5 logos on top of each other.

 

 

This is the setup in the hierarchy.

 

In "DATA::ready:form - (JavaScript, client)"

 

I run this code:

 

// Client spesific logo setup

xfa.resolveNode("form..IM_CUST_LOGO_1").presence = "hidden";                                       

xfa.resolveNode("form..IM_CUST_LOGO_2").presence = "hidden";                                       

xfa.resolveNode("form..IM_CUST_LOGO_3").presence = "hidden";                                         

xfa.resolveNode("form..IM_CUST_LOGO_4").presence = "hidden";                                          

xfa.resolveNode("form..IM_CUST_LOGO_OTHER").presence = "hidden";

 

The same after, just visible when different conditions are met.

 

 

My issue!

This works in the PDF, but just on the first page.

 

 

What i thaught worked

xfa.resolveNode("form1.#pageSet[0].Page1.IM_CUST_LOGO_1").presence = "hidden";

 

It did not

 

With maybe a loop, to go thru the pageSet[0] (if it worked).

 

Any help, please?


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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