Script for hiding unused pages of a form

Staffle

31-08-2015

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

Accepted Solutions (0)

Answers (4)

Answers (4)