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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Reset PDF form fields programatically
  FAQ FAQ  Forum Search   Register Register  Login Login

Reset PDF form fields programatically

 Post Reply Post Reply
Author
Message
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Topic: Reset PDF form fields programatically
    Posted: 16 May 16 at 6:47PM
Hi Biju,

sorry but there's no single command for this.
As far as i know there's no similar command in acrobat itself.
You have to use GetFormFieldCount and within a loop you have to check the formfieldtype.
If it's a textfield put a space or '' in it, if it's a numeric field put a 0 inside and so on.

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
biju View Drop Down
Beginner
Beginner
Avatar

Joined: 16 May 16
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote biju Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 16 at 1:39AM
Hi Ingo,
Thanks for the reply.
I understand that each fields need to be clear by its value.

Can you provide me the code that click a command or push button programatically ?.

I have buttom in the same form that will reset form to its default value if pressed manually.

So, if the code can press this button automatically, it will solve my issue.

Thank you in advance for your reply.
biju





Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 16 at 7:43PM
Hi,

QuickPDF allows javascript code putting behind button actions.
I'm not a javascript-freak - Dr. Google will answer you with code samples.
How to put it then into Quickpdf you'll find on the official support pages.
Here what's supported by QuickPDF:
http://www.debenu.com/docs/pdf_library_reference/JavaScript.php
Now you have to search for a matching javascript code ... Sorry ;-)


Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store