I am trying to achieve interaction between a PDF dynamic form created with LiveCycle Designer ES2 and the web page it must be displayed into.
Is it possible? If so, how?
Does it have to do with embedding a FormBridge object in my form?
The issue is quite urgent, so I'll really appreciate any help!
Thanks in advance,
and a somewhat complex sample at http://support.adobe.com/devsup/devsup.nsf/docs/54352.htm
that solved it!
By using the postMessage() method on the object that embeds the PDF in the web page and the FormBridge component on the form, I was able to send
messages from the page to the form.
I dug a bit more around postMessage, and also found out (should anyone need this for further reference) that communication in the opposite direction (from the form to the web page) can be achieved by calling the postMethod inside the form on the event.target.hostContainer object.
var PDFObject = document.getElementById("PDFObj");
onError: function(error, aMessage)
...and on your <body> tag something like:
<body onload="setTimeout(SetMessageHandler, 1)">