How to add JavaScript as a mouse up action on the Submit button:

I work in acrobat pro 9 and I can't see an option in the action button section where I can add custom script. Does anyone know how I go about adding this please?

Eugene kindly answered my previous question there but I don't have the option to reply to him unfortunately, jst no reply button. Thanks for reverting anyway Eugune, I will test that code out when I figure out the above first!


Taryn McGee


4 Answers

Voted Best Answer

Step1
Click Forms > Add or Edit Fields
Step 2
Click Add New Field > Button
Step 3
Name the Button and click Show All Properties
Step 4
Click the Actions tab and Select Action "Run a JavaScript" > click Add
Step 5
Paste the JavaScript code in the window and click OK


By Eugene Williams   

To reply, click on the New Comment button under Eugene's reply. Or use the "Add your answer" button under your original message.


Gilad D (try67)   

Thanks, think I am out of my dept on this forum or need more sleep! Hope it's the latter.


Taryn McGee   

I'll reply with instructions related to your 1st sentence in 20 minutes.


Eugene Williams   


Please specify a reason: