----- Original Message -----
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
<itext-questions@lists.sourceforge.net>
Sent: Thursday, 17 May, 2007 3:51 PM
Subject: Re: [iText-questions] AcroForms


> http://itext.ugent.be/library/question.php?id=43
>
> Paulo
>
> ----- Original Message -----
> From: "Joe L" <[EMAIL PROTECTED]>
> To: <itext-questions@lists.sourceforge.net>
> Sent: Thursday, May 17, 2007 9:25 PM
> Subject: [iText-questions] AcroForms
<snip>
> > I want to have people save data in forms and be able to email the form
to
> > me with the data in it.

Here's a feasible approach:

1. Use a server-side script to capture the form data from an FDF/XFDF submit
action, or to convert the (HTML) submitted form data into FDF/XFDF.
2. Using iText, merge the FDF/XFDF from 1 above into the target PDF.
3. Return the merged PDF to the client-side browser (or provide a link to
the merged PDF).

The above approach can be used with Acrobat Reader, as long as the
server-side process does not exist on the same computer as the client-side
browser, i.e., a "localhost" server.

While it is indeed feasible to do the "localhost" magic above *without*
Acrobat Reader, i.e., with one or more of the alternative viewers, it is,
IMO, hardly worth the effort, as this approach would place too great a
burdon on the client-side user's resources. See the thread entitled
"Formular Submit from PDF" for an alternative approach that does not require
the use of Adobe Reader, but which is not recommended by this author.

Cheers,

Bill Segraves


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to