Radio Button List open new pages

Avatar

Avatar

dcv1

Avatar

dcv1

dcv1

22-11-2018

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);

}

Accepted Solutions (0)

Answers (0)