How can I dynamically make a button or a field invisible?
This is because I'm saving the document as a jpg image to store it later in a imaging management system but I don't want the buttons to appear.
How can i change a property of a field, button, etc usin javascript in the click event of a SaveAs button??
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/show_hide_fields/[/url]
Place your script into the Documents (WillSave) action.
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/document_actions/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/document_actions/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script