Expand my Community achievements bar.

Rendering multipage HTML form - error on pageDown()

Avatar

Former Community Member

I have a multi-page form redered as HTML. I followed the guidelines and placed on each subform the button with click event javascript containing xfa.host.pageDown(). It works fine in PDF, but when HTML is rendered, it does not work.

It causes " 'this._peer' is null or not an object" error in the browser, when button is clicked.

The HTML rendered by Form Service looks like:

<input class="fsc4 fsc10 fsc11 fsc2" id="NButton1_0" name="Button1[0]" onclick="return this._peer._clickfunc(\nxfa.host.pageDown();)" style="overflow: hidden; position: absolute; top: 101.6mm; left: 104.78mm; width: 28.57mm; height: 6mm; white-space: pre-wrap; " tabindex="203" type="button" value="Next" />

Is there any workaround for this behaviour?

Thanks

Alex

0 Replies