New Forum | Previous | Next | (P-PDF) Developers
Topic: exportAsXFDF does not work ?
Conf: (P-PDF) Developers, Msg: 114154
Date: 6/25/2004 01:47 PM
I am trying to export the form from a PDF into an XFDF file. However the function does not seem to be doing anything. I am creating the form using Adobe Form Designer (eval version) and the script is written in the docready event of the form on the page. The code is listed below. Note that I am opening the file in Acrobat reader locally and not in a web browser.
BTW, the additional code is just to help me with debugging :P
Can anybody indicate what the problem is ?
var n = event.target
app."into open doc");
for (var i = 0; i < n.numFields; i++)
app."Field[" + i + "] = " + n.getNthFieldName(i));
n.exportAsXFDF(true, false, null, "c:\temp\emp.xfdf");