2 Replies Latest reply on Aug 19, 2011 4:43 AM by CiccioD

    Call PDF Javascript Function from External HTML Document

    GSTSX Level 1



      Forgive me if this information has been posted previously - I've searched quite a bit and haven't quite found anything specific or similar.


      We have LiveCycle Designed forms, and are including the Form in an IFRAME within an HTML page.  From there, we would like to be able to call one of the functions we've added to the LiveCycle form.


      So for example,

      <SCRIPT type="text/javascript">
      function CallFunc()
      <iframe src="MyPDFFile.pdf" width="100%" height="100%" name="PDFFrame" id="PDFFrame"></iframe>


      The "window.PDFFrame.TestFunc()" is where I'm running into issues.  I have tried to use PDFFrame.xfa.etc, and PDFFrame.document.etc, but I'm not sure of the appropriate method to access this PDF Document's functions.


      I do have a "TestFunc()" defined (tested and working) in the PDF document (designed in LiveCycle).

      Any advice is much appreciated -