How to add pages conditionally to a checkbox being checked ?
Hi,
I have a pdf form document in which there's checkboxes that add a page after a certain page based by their number in the order of appearance. My code is :
var a = this.getTemplate ("AddPage11");
a.spawn(3, false, false);
this.pageNum = 1
And it works. But I have several checkboxes like this and so for the subsequent checkboxes that add pages, the order of appearance is conditional to the choice that the user made by clicking on a prior checkbox. Is there a way that a javascript can add pages conditionally to a prior checkbox adding pages being checked ?
