Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
Viewing/Printing PDFs with dynamic date stamp |
Post Reply |
Author | |
jfields
Beginner Joined: 24 Jul 13 Location: Houston Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 24 Jul 13 at 12:51AM |
Hi all,
I am trying to view/print PDFs that contain javascript that displays the current date in a text box. With the 2.71 demo, when I preview the PDF, the date displayed is the original creation date - it does not update to the current date. In VB, I used QuickPDF to hard code the date in the javascript, but it still does displays the old date with the demo. Adobe will display the new date. I'm using GetPageJavaScript to get the original javascript with the date function, replacing the date function with today's date, then using PageJavascriptAction to replace the original javascript. Any help will be greatly appreciated, -Jean Fields Edit: Here is a PDF that has a date stamp similar to ours Edited by jfields - 24 Jul 13 at 4:33PM |
|
jfields
Beginner Joined: 24 Jul 13 Location: Houston Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Hi all,
I found a solution, I left the javascript alone and updated the form field values and that worked. Which is a better solution overall since it leaves the dynamic date stamp intact in the PDF file.
Thanks,
Jean
|
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Jean,
Debenu Quick PDF Library currently doesn't have a Javascript engine to update the formfields so your workaround is the best option for now. Andrew.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store