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
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 Topic: Reset PDF form fields programatically
    Posted: 16 May 16 at 9:35AM
Hi Memebers

Can anyone help with the code for the following,

I am using Debenu PDF Activex Library in excel to fill a PDF form.

I have the code to do this function.

But, I am not able to reset all form fields with default values before the code starts filling the form.

Is there a single command that will reset all fields of a PDF form ?.

Can you please provide me the code for this ?.

 Thanks

Biju


 

 

 

Back to Top
Guy View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Jun 16
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guy Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jun 16 at 2:47AM
This works for me in delphi...don't know if that helps

procedure TForm1.ResetBtnClick(Sender: TObject);
var
  i,ffc: Integer;
begin
ffc := pdf.DQPLFormFieldCount;
for i := 1 to ffc do
begin
  pdf.DQPLSetNeedAppearances(0);
  pdf.DQPLSetFormFieldValue(i,'');
end;
end;

Wink


Edited by Guy - 25 Jun 16 at 2:49AM
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