Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Text Field - Default Value


Not applicable

I have a text field for which I'd like to have the default value automatically disappear once the user puts the cursor into the field. How is this possible?

Also, I'd like to configure the field such that the default value does not print if the user has not replaced it. Is this possible?

Any thoughts are appreciated.

1 Reply


Not applicable
since thoughts are appreciated ...

I had added a similar script but in an AcroForm..

ON FOCUS: (Enter)

if ( == = "";

ON BLUR: (Exit)

if ( == 0) =;

The bad news is ... I unfortunately never managed to find the Livecycle equivalent to check against a default value though..(a generic way)