Expand my Community achievements bar.

Radio Button List open new pages

Avatar

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