Skip to Content
avatar image
Former Member

How to save PDF forms using javascript events

Folks,

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

Thanks,

Manish

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 06, 2006 at 03:16 PM

    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

    Add comment
    10|10000 characters needed characters exceeded