Is it possible to have a command button that will do a "save as"?
If so, how can I do this? (Need to make a form as simple as possible)
Also, when inserting new fillable form fields I would like the field to show what they need to do in that field, such as entering a number, but when they do the instructions need to be removed when they type in the number.
Example - inside the box it says "Enter Tag Number" - when they start to enter it only the number is in the box. They should not have to delete the message.
Any help would be appreciated.
Acrobat 9.0 Standard
Having a field with instructions in is a good one. This is a common techique in other forms technologies.
In PDF it can be accomplished with the format event script. something like this
In Format event for field:
if(event.value == "")
event.value = "Enter Tag Number";
In this example, the code is comparing the entered value against an empty string. The actual value that needs to be compared against, depends on how the field is being manipulated by the other events, it might be "0".
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script