Good Day guys,
I am a new livecycle developer...currently i am working on a project that requires the use of livecycle forms. Now the problem is I have a web application that I have created using ASP.net. Now there is a certain page which is used to call different livecycle forms. Now if the user clicks to open a form I would want a session variable to be passed to the pdf form; this value is used to conduct necessary calculations located on the form. My question is how do you pass values from a aspx page to a livecycle form? Whats the code used?
Thanks in advance.
In the Acrobat JavaScript environment the full URL that was used to open the file is available in the "this.URL" property. You'll need to write code to parse out the session variable. It's best to do this after Acrobat has loaded and initialized the document. There are several events like "Doc Ready" or the "Initialize" event for the top level subform that will work.
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