Print Button not working in LiveCycle Html5 form -
i have pdf form has been converted html5 form. in conversion dragged print button form generated code:
xfa.host.print(1, "0", (xfa.host.numpages -1).tostring(), 0, 0, 0, 0, 0); the problem doesn't when clicked. did work when pdf form.
so xfa.host.print() not on list of methods supported html5 mobile forms, there workaround. try code:
if ( xfa.host.apptype == "html 5" ) { window.print(); } else { xfa.host.print(1, "0", (xfa.host.numpages -1).tostring(), 0, 0, 0, 0, 0); }
Comments
Post a Comment