Avatar

Level 4

Even with the new folder .js, the Print Form button fires Print but not the Save. I noticed a couple of errors that I made. One was in LC on the button where I had ;; at the end here

----- topmostSubform.Page9.PrintButton1::click: - (JavaScript, client) -----------------------------

xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);

//calls trusted function in MySaveAsPO.js folder-level script
event.target.myTrustFunct(event.target);;

So I changed that, but it didn't make any difference. Then I looked at the XML Source at the Last Name box:

         <field h="9.0001mm" name="Last_Name" w="76.732mm" x="120.8678mm" y="35.6042mm">

I had been using topmostSubform[0].Page1[0].Last_Name[0] from an earlier AcroForm version of the form, but in the XML, the field is just named "Last_Name." So I changed that in the .js file, too. That didn't make any difference, either. Does the form save for you? I wonder what the difference could be?