Expand my Community achievements bar.

doc.hostContainer undefined error in xfa

Avatar

Level 1

I want to send message from html to pdf ,so I draw form with liveCycle Designer ES ,

I add the following codes in docReady event of form :

    var objDoc = event.target;
       app.alert(objDoc.hostContainer);

then I embed that pdf file into html,like this:

    <object id='dddd' height=500 width=100% data="mypdf.pdf"></object>

I open this html file .I get the error: "undefined" .why? thanx for ur reply.

I use the following:

    liveCycle Designer ES 8.2.1

    acrobat reader 9.1/acrobat reader 8.1.3

    internet explorer 6.0.

0 Replies