Answered
hello,
i have created a form with acrobat which has a button and a textfield.
now i want to export the textfield value to a txt-file.
the following javascript code when clicked on the button...
fields = new Array('SelectedPartNumber')
exportAsText(false, fields, "C:/test.txt");
OR
exportAsText("C:/test.txt");
...does not save any file.
any ideas?
exportAsText(false, fields,'/C/myFile.txt');
doesnt work either.
but if i remove the third parameter, the function works.
e.g.
exportAsText(false, fields);
but with no path parameter i get a savedialogbox which i dont want