Embedded in my PDF is the following javascript:
//
//signature:Format
//
/*********** belongs to: AcroForm:signature:Format ***********/
var myPath = '/network_path/' + this.getField('out').value;
this.saveAs(myPath);
this.hostContainer.postMessage(['close']);
//
//
This PDF has been certified and signed and extended for Reader. It works fine using previous versions of Acrobat Reader in the browser, however now with Acrobat X, it doesn't work and throws the following error:
UnsupportedValueError:
Value is unsupported. ===> Parameter cPath. Doc.saveAs
When the PDF is signed, it is supposed to save the file to the network path and then with the "hostContainer" instruction, it prompts the browser to redirect to another page. Acrobat X reader has Enable Protected Mode turned "off". About 1% of the time it works and then the next time it doesn't.
Any suggestions?