Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Radio Button List open new pages

dcv1
Level 1
Level 1

Hi,

I try to use code below without success. It work only for one If statement but when I add another one he stop working. Any help would be appreciated. Thanks.

FormDCV.Masterform.Page1.CurrentSheet::ready:layout - (JavaScript, client)

this.rawValue = xfa.layout.sheet(this)+1;

FormDCV.Masterform.Page1.SheetCount::ready:layout - (JavaScript, client)

this.rawValue = xfa.layout.sheetCount();

FormDCV.Masterform.Page2.CurrentSheet::ready:layout - (JavaScript, client)

this.rawValue = xfa.layout.sheet(this)+1;

FormDCV.Masterform.Page2.SheetCount::ready:layout - (JavaScript, client)

this.rawValue = xfa.layout.sheetCount();

FormDCV.pocetna1.RadioButtonList::click - (JavaScript, client)

if (this.rawValue==14)

{

_page1.addInstance(1);

}

else

{

  _page1.removeInstance(0);

}

if (this.rawValue==30)

{

_page2.addInstance(1);

}

else

{

_page2.removeInstance(0);

}

0 Replies