Copy link to clipboard
Copied
Is there any way to make it so that when you click on a text field with a default value, highlight this when you click on it or clear out the field, whichever is easier? I want the ability to click on the field to enter text right away, not have to delete what is defaulted in the field. thank you.
Copy link to clipboard
Copied
Place this script in an "onFocus" action:
if (event.target.value == event.target.defaultValue) {event.target.value = "";}
Copy link to clipboard
Copied
Place this script in an "onFocus" action:
if (event.target.value == event.target.defaultValue) {event.target.value = "";}
Copy link to clipboard
Copied
Add the following script as mouse enter action:
event.target.setFocus();
Find more inspiration, events, and resources on the new Adobe Community
Explore Now