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
Announcement
Collapse
No announcement yet.
Document Javascript
Collapse
X
-
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
Tags: None
Leave a comment: