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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -