Copy link to clipboard
Copied
Hello,
I am creating a fillable PDF for work and one of the requirements is that the user can use the "draw functin under "fill and sign" to actually sign the form
However, when I create the fillable form, I am only able to add a signature text boxt that asks for a digital signature
What should I do?
Copy link to clipboard
Copied
Don't create a signature field.
Copy link to clipboard
Copied
You don't need to do anything to allow the user to do that. It's a built-in feature of Reader DC.
Copy link to clipboard
Copied
The "draw tool" in Acrobat/Reader is one of the standard PDF markup annotations. It's also called the pen or pencil tool. You may want to add something to your form to clue the user to use it for a signature. For example, add a "Sign" button that just runs the menu item that activates the pen tool. Have the text on the button change to "Done". Then when they push is a second time it activates the hand tool. Something like that.
Copy link to clipboard
Copied
Can you please explain in steps how to do this?
Copy link to clipboard
Copied
The first part of this is running the menu item that activates the Pencil tool.
app.execMenuItem("Annots:Tool:InkMenuItem");
You can turn the tool off by running the Hand tool menu item;
app.execMenuItem("HandMenuItem");
Unfortunately, buttons on the form cannot be pushed when the pen tool is turned on. The user will have to turn this tool off manually.
Copy link to clipboard
Copied
I am having the same issue... Is there a way to do this without coding? If not, where exactly do these commands go? I am able to add a button, but the option to run a hand tool menu item doesn't come up for me on the list of action choices.
Copy link to clipboard
Copied
Unfortunately, the vast majority of Acrobat menu items were removed from the user interface in Acrobat X, or maybe it was 9. Anyway, they are still there, but are hidden from the user. Which means they don't show up on the list of items for the "Execute a menu item" action. Which is why I suggested using a script instead.
Copy link to clipboard
Copied
The scripts are entered into the "Run a JavaScript" Action of the "Mouse Up" trigger of a button field.
Copy link to clipboard
Copied
I have used that script as described and nothing happens.
Other java running on the same form are working.
Acrobat pro dc
Any ides?
Thank you
Copy link to clipboard
Copied
Unfortunately the "Annots:Tool:InkMenuItem" is blocked in a non-privileged scripting context. It won't work from a script inside a PDF, unless that PDF is trusted.
There is a way to simulate the pen tool using a script, but it's an advanced task.
It's too bad there isn't a "scribble" field type. This would be pretty cool.