I have a XDP template that's merged with XML data on the server to produce a flat PDF. Several pages are sometimes produced. Everything on the form is good including page totals and grand totals except the page number. The current page and number of pages are always blank. In designer the preview always look good. How can this be resolved? Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
The only change I did to fix this is changing the Runt At property to "Client and Server" for the script where the page numbers are calculated.
Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumber::ready:layout - (JavaScript, both)
this.rawValue = xfa.layout.page(this)
Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumberCount::ready:layout - (JavaScript, both)
this.rawValue = xfa.layout.pageCount()
Thanks
Srini
Views
Replies
Total Likes
Can you post your form..
Steps to upload the document
1) goto acrobat.com website
2) login with your Adobe login/password.
3) In Actions you will find Upload. Select your form and upload.
4) After uploading, select form name in All Files section and right click and select share.
5) Check the checkbox "Allow anyone with a link to view this document".
6) Copy the URL link and post it in the forum.
Thanks
Srini
Views
Replies
Total Likes
Thanks for the help. See the following links:
XDP https://acrobat.com/#d=Kd9GPAaZVdhliuwWOADclw
XML https://acrobat.com/#d=iFqlFHKuItMIE-s2vs*VHQ
XSD https://acrobat.com/#d=yDKIv10I7zLKr*XvLK6nvQ
Views
Replies
Total Likes
The only change I did to fix this is changing the Runt At property to "Client and Server" for the script where the page numbers are calculated.
Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumber::ready:layout - (JavaScript, both)
this.rawValue = xfa.layout.page(this)
Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumberCount::ready:layout - (JavaScript, both)
this.rawValue = xfa.layout.pageCount()
Thanks
Srini
Views
Replies
Total Likes
That fixed the proble, Srini. Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies