Copy link to clipboard
Copied
I'm looking to create a PDF form where there is grayed placeholder text (i.e. "Name") that disappears when the user inserts their cursor, and then when they type, black text appears and remains.
I've seen an explanation of how I can using coding in the Properties Menu/Format/Custom, but I can't seem to make it do the gray to black thing.
Any help or link to information would be greatly appreciated.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
See my reply in this thread: Is there a way to add instructional text to my text field that will disappear when clicked? (PDF For...
Copy link to clipboard
Copied
When setting up the "On Focus/On Blur", what do I set the "Select Action"as?
Copy link to clipboard
Copied
Run JavaScript...
Copy link to clipboard
Copied
Thank you.
Copy link to clipboard
Copied
I wish there was an answer here that worked for Acrobat Pro DC
Copy link to clipboard
Copied
The answer above should...
Copy link to clipboard
Copied
It doesn't but here's what does work for me;
Add one more item selection of a blank space
On the format tab, enter the following Custom Script:
if(event.value==" ")
{
event.value="Please make your selection";
}
Copy link to clipboard
Copied
Well, it sounds like you're talking about a drop-down field, not a text field, which is what this discussion was about.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now