Hello,
I have several questions about submitting forms to asp.net server.
Let's say I have a form which submits data to asp.net server and submit format is xml data. If the pdf file contains an image will it be included too? If yes what will be the format of the image?
Secondly, if some of the fields are not filled, will they be included in the xml files as empty fields or will they be omited from the xml file altogether?
Finally, after processing the posted data I would like to display a message to user e.g: success or failure. How can I achieve it? I believe I need to set the Response but what should be the format of the response? Will just a plain text work?
Thank you.
2. Yes, all the other fields on the form will also be there, even if they are empty.
The best way to send an intelligent message to the user is with an FDF response. The FDF format can include a "before" script where you can place a single JavaScript alert box with a message for the user. This is all the FDF needs to have, it does not need to, in fact it should not include any return data. You'll need to get the FDF specification and do some testing, or download the FDF Toolkit
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]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script