These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Text field, highlight text upon click

scderacjor
Registered: Mar 27 2009
Posts: 123
Answered

Is this possible?

My boss would like me to create text fields that, upon click, highlight the default text so a user can immediately begin typing and erase the default text.
I'm thinking maybe some javascript in the click function?

I appreciate any input! Thanks.

My Product Information:
LiveCycle Designer, Windows
ozsupra
Registered: May 17 2009
Posts: 22
By using a drop down list and enabling "Allow Custom Text Entry" you can have something like "WIGGETS (Default) - Type over" as the only item on the list. The user then types over the entry shown.
Also by enabling "Autocomplete" on the users browser, assists greatly in the process of entering default values.
A.
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
hi scderacjor,

you can use JavaScript to delete your default text on entering a text field and recreate it, if the user did not enter a new text.
You also can change the colors of the text, text field or borders.
Look here, there you can find an example form.

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=21090

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs