Hello,
I have an application that's currently working great with iText 2.0.8 and
AcroForms. Basically, the application does this:
1. Automatically fill out a PDF form using data loaded in a Map object
2. Dynamically create a submit button (PushbuttonField) that submits
the XFDF data to a URL
Then the user can view the form, update form fields and press the submit
button to send the updated data back to the server. This system works great
with PDFs using AcroForms, but step #2 doesn't work at all when the form is
created by LiveCycle Designer. The button appears on the PDF, but clicking
it does nothing. I've done a bit of searching on the web, and from what I
can tell the reason this is not working is because Designer forms use XFA
forms, and the PushbuttonField object only works with PDFs using AcroForms.
So, based on the above, I have a few questions:
1. Is there a way to dynamically create a button on an XFA form that
submits the form data to a URL?
a. I realize that the submitted data will probably not be in XFDF
format, but we can handle that on the server side if needed.
b. If I need to upgrade to a newer version of iText, that's fine -
we're on 2.0.8 right now.
2. Assuming #1 is possible, is there a way to know when we're stamping
the PDF whether or not the form is an AcroForm or an XFA form? That way,
we'd know whether to execute the code that we're using today vs. the new
code from #1
Thanks in advance,
George
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/