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

Script for hiding unused pages of a form

$
0
0

Hi

I want to enable the user to hide page 2 of a form if it is not used. This script:

if (this.rawValue==0){

xfa.resolveNode("page2").presence = "hidden";

}else{

xfa.resolveNode("page2").presence = "visible";

}

does not do it although it worked in the past (do I need more than two pages in order to delete one?

Could you please tell me wha'ts wrong?

 

Thank you!

Lisa


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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