cancel
Showing results for 
Search instead for 
Did you mean: 

How to save PDF forms using javascript events

Former Member
0 Kudos

Folks,

How to save PDF forms using javascript events , please let me know

Thanks,

Manish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Please follow the suggestions for Saving a form:

// Saving the form is done at the application level, so you need to invoke the

Acrobat app model.

App.executeMenuItem("SaveAs"); // The end user will be prompted to specify a

file name.

// However, you must save the form silently if the form needs to be certified

and the certificate must be trusted for privileged JavaScript.

var mydoc = event.target;

mydoc.saveAs();

Thanks,

kris