I need to build an ASP.NET application that is able to render interactive forms to client web browsers.
(1) Existing data will be read from the database into the PDF file
(2) User input in the PDF will be extracted and saved into the database.
There are many articles in Java. But I need to write it in VB or C#.
I followed Scott Macdonald's instruction. But he missed some key steps or reference there, like URLSpec, FormsResult, BLOB, etc. It does not work. I am new to PDF programming.
Can anybody here give me any suggestion, links, etc?
Thanks.
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=42194#p42194
The discussion is about php, but the idea is the same. The PDF is displayed in Acrobat on the client side. It uses a "doc.submitForm()" call to make send an HTTPRequest to a sever script. The server script then processes the incoming data and creates an HTTPResponse where the body of the response contians a data format that is understood by Acrobat. When Acrobat recieves the response it merges the data into the PDF. This is really very simple. It's just a matter of getting the details correct.
You could also look at an ASP library like: http://www.asppdf.com/
The document by Scott Macdonald is about using the LiveCycle ES Form Services. There's a lot of useful information in the artical, but Form Services is way overkill for 90% of PDF form/data handling applications. So before you go down this path there are a couple questions. Do you already own Form Services? The LC servers are Java, so are you prepared to learn Java, and install and support the servers? Is your form task sufficiently complex to warrant such a heavy solution?
If you are only moving data in and out of a few PDFs, then it is much simpler, and cheaper, to write an ASP scirpt that sends and recieves the PDF data, without all the fancy accutriments.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script