Expand my Community achievements bar.

SOLVED

User help text that dissappears when users enter that field.

Avatar

Level 9

I want to add some text in several text fields (value side) that explains to the user exactly what to enter in that field. When the user clicks into the field, the help text disappears and only the cursor remains.

I added the text as the default value and formatted it to be light gray. In the Action Builder, I set it up so when the user enters that field, the value is set to null and the foreground color is changed to black. This works great but when you actually start using the form, if you enter that field and add some text, then exit and then go back to add more to that field, what you had there disappears when you re-enter the field. Is there a way around this problem. I tried creating a Tool Tip but unless you hold the cursor completely still in that field, the tool tip does not appear.

Thanks for your help...

-Don

1 Accepted Solution

Avatar

Correct answer by
Level 10

Look at this thread..

Bruce had given a nice PDF sample.. That may help you.

http://forums.adobe.com/message/2516823

Thanks

Srini

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

Look at this thread..

Bruce had given a nice PDF sample.. That may help you.

http://forums.adobe.com/message/2516823

Thanks

Srini

Avatar

Level 9

Thank so much Srini, that works exactly as I needed.

Thanks!

Avatar

Level 9

A follow up question:

Is there any easy way to open that code to muliple fields?

Thanks again,

-Don

Avatar

Level 10

The only way to reuse the code with multiple fields is by using the Script Object.

Place all the common code to Script Object and call the function in all the fields.

Thanks

Srini