Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Prepopulated Text "Hints" that disappear upon mouse Enter/Exit

$
0
0

So I have created a text field for date entry, that has an auto population giving the example for the user to type. When they mouse over the text field, the prepopulated text disappears and when they type it stays that way. I have already created this in Livecycle Designer using two javascript codes one for mouse enter and one for mouse exit.It works... except for one thing. After I have changed the field, if I mouse over again what I already changed/typed, it resets to the default value.

 

The codes I am using currently are:

 

this.rawValue = "  "

 

For the mouse entry, and for mouse exit is:

 

this.rawValue = "01/01/2014"

 

These are working, EXCEPT for the fact that when I "re-mousover" it just resets to the original default value.

 

ANy HELP???


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>