Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Acrobat JavaScript: This script will display the text of the field tooltip when the value is empty prompting the user to enter data
/*
This script will display the text of the field tooltip when the value is empty prompting the user to enter data
Add this code to the custom format script for text fields.
*/
if (event.target.value == "") {
event.value = event.target.userName;
}
Owner

JoelGeraci commented Nov 29, 2016

Download a functioning example from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment