Print Page | Close Window

HTTP SUBMIT BUTTON DOES NOT WORK AFTER SAVETOFILE

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2331
Printed Date: 02 Aug 25 at 1:34PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: HTTP SUBMIT BUTTON DOES NOT WORK AFTER SAVETOFILE
Posted By: rcunning411
Subject: HTTP SUBMIT BUTTON DOES NOT WORK AFTER SAVETOFILE
Date Posted: 05 Jul 12 at 6:19PM
I have a PDF file created using LIVECYCLE 8.0
I can open it in ADOBE READER x ... it lets me fill out the form, and click the SUBMIT button.
This submits the FORM DATA as NAME/VALUE pairs to my webserver
 
NOW My QUICK PDF ACTIVEX control is OPENING the file as mentioned above, and RE-SAVING IT
as follows.
 

BB=Createobject("QuickPDFAX0816.PDFLibrary")
BB.UnlockKey("MYLICENSEcode here")
BB.LoadFromFile(MYPDFFILEHERE,"")
BB.RemoveXFAEntries(1)

! THIS CODE BELOW SIMPLY POPULATES FIELDS ON THE FORM
! THIS IS VISUAL FOXPRO BUT DOESN'T MATTER
! AS YOU CAN SEE IT SIMPLY WRITES MY DATA TO THE PDF FILE
! THEN SAVES IT AS A NEW FILE
! THE NEW FILE IS  THEN OPENED IN ADOBE READER BUT THE
! SUBMIT BUTTON NOW DOES NOT WORK AND DOES NOTHING

For fKnt=0 To toFormCollection.ChildNodes.Length-1

 lItem=toFormCollection.ChildNodes(fKnt)
 lcFieldName=lItem.NodeName
 lcFieldValue=lItem.Text

 =setpdfformfieldbyname(lcFieldName,BB,lcFieldValue)
Endfor

* Now Save up new form and open it
BB.Savetofile(tcNewFileName)

ANY HELP Would be GREAT !

 

 




Replies:
Posted By: Ingo
Date Posted: 06 Jul 12 at 6:57AM
Hi!

Working with QuickPDF or any other third party library
on a adobe livecycle-form will raise many problems.
You'll never succeed in having a stable behavior
regarding this issue.

Please read my blog here about the adobe mechanism
to protect their claims:
http://pdfcomments.blogspot.de/2009/06/pdf-and-forms.html

Cheers and welcome here,
Ingo



Posted By: AndrewC
Date Posted: 09 Jul 12 at 11:14AM
Here is some more information

http://www.quickpdflibrary.com/faq/adobe-reader-extensions-usage-rights.php - http://www.quickpdflibrary.com/faq/adobe-reader-extensions-usage-rights.php

If other libraries such a Quick PDF Library could read and write data to XFA based LiveCycle forms then Adobe would lose a lot of their revenue stream.  This is why they make if difficult for other PDF libraries to work with LiveCycle forms unless a license is purchased from Adobe.

Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk