-
1. Re: Add email button with icon
try67 Aug 1, 2016 1:55 AM (in response to karpiyon)You should download the Acrobat JavaScript API Reference and study it, especially the part about the properties and methods associated with the Field object. It's all there.
-
2. Re: Add email button with icon
karpiyon Aug 1, 2016 4:42 AM (in response to try67)I have...
I was hoping that someone who is very familiar with these functions can help me and save me from reading all of it and trying to study it thoroughly.
It this not the main idea of a forum?
-
3. Re: Add email button with icon
try67 Aug 1, 2016 5:07 AM (in response to karpiyon)The main idea of a forum is to help people find solutions, not to do their work for them...
It's really not that difficult to find what you're looking for. I'll help you with those items you asked about:- set layout to: Icon top, label bottom -> The buttonPosition property of the Field object.
- set label to "send form" -> The buttonSetCaption method of the Field object.
- set and icon to a specific png file -> The buttonSetIcon or buttonImportIcon methods of the Field object.
- set the action to "Submit a form" -> Not possible. You can only assign a JS command using a script. But you can use JS to submit the document, using the submitForm method of the Document object.
- Set Select Trigger to "Mouse Up" -> The setAction method of the Field object.
-
-
5. Re: Add email button with icon
Test Screen Name Aug 1, 2016 7:11 AM (in response to karpiyon)In many cases a forum is a shortcut that helps people unable or unwilling to use the documentation. You will find programmers take a very different view and you must be prepared to read thousands of pages. We can help you find what to read.