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

Javascript help for pagecount

$
0
0

H All,

 

I am trying to write a javascript to show the address if the page count on the form is less than 10 pages . the form grows dynamically based on the .xml data

 

my address field has javascript

 

xfa.resolveNode("Correspondance.#subform.Client_Addrp1").rawValue = xfa.resolveNode("Correspondance.#subform[4].Client_addr_Name").rawVal ue + "\n" +  xfa.resolveNode("Correspondance.#subform[4].Client_addr1").rawValue + "\n" + xfa.resolveNode("Correspondance.#subform[4].Client_addr2").rawValue+ "\n" + xfa.resolveNode("Correspondance.#subform[4].Client_addr_City").rawVal ue + " " + xfa.resolveNode("Correspondance.#subform[4].Client_addr_State").rawVa lue + " " + xfa.resolveNode("Correspondance.#subform[4].Client_addr_zip").rawValu e;

 

but i also want to show the address on the page if the page count is less than 10 pages, can somebody help me to incorporate the pagecount logic on the address field.

 

Thanks in advance.

 

Cwilliam

 


 

 



Viewing all articles
Browse latest Browse all 5571

Trending Articles



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