Announcement

Collapse
No announcement yet.

Document Javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • huy_tran
    replied
    Dear Cloughie,

    The RunJScript does not have the scope of the JavaScript function within the PDF. Only the standard JavaScript that are defined by Adobe are supported by the RunJScript function.

    Sincerely,
    Huy

    Leave a comment:


  • Cloughie
    started a topic Document Javascript

    Document Javascript

    Hello gents,
    I have a pdf that has a form I am editing in the Foxit activex control. There is a document javascript in there containing a function - in this case CheckMandatoryFields() . It's embedded in a winforms/c# app and I am trying to use the RunJScript("CheckMandatoryFields();") method to call this function on click of a button, but nothing is happening. RunJScript("app.alert("Hello");") works fine. Any ideas?

    ​Cheers


Working...
X
😀
🥰
🤢
😎
😡
👍
👎