How to create disappearing instruction text in fields

I am not familiar with script, so I am wondering if there is a way to create disappearing instruction text in fields without being familiar with script?

I did add a default value, but when the field is clicked on the user has to delete the text instead of it disappearing automatically.

I am new to all of this.


Vanessa Moore


3 Answers

Voted Best Answer


By Karl Heinz Kremer   

Enter this custom format script:

if(event.value=="")
{
event.value="The Instruction Text";
}
________________________________________________________________________________________________________________ www.PDFAutomationStation.com

IMAGE ALT TEXT IMAGE ALT TEXT IMAGE ALT TEXT

_________________________________________________________________________________________________________________


David Dagley   

To use either the code above provided by David or George Johnson's code which is available through Karl's answer, you need to add the script as a Custom Format Script to the text fields as shown in the image below:

enter image description here


Almir R V Santos   


Please specify a reason: