Text Field - Default Value


all,

i have text field i'd have default value automatically disappear once user puts cursor field. how possible?

also, i'd configure field such default value not print if user has not replaced it. possible?

any thoughts appreciated.

matt

since thoughts appreciated ...

i had added similar script in acroform..

on focus: (enter)
if (event.target.value == event.target.defaultvalue)
event.target.value = "";

on blur: (exit)

if (event.target.value.length == 0)
event.target.value = event.target.defaultvalue;

the bad news ... unfortunately never managed find livecycle equivalent check against default value though..(a generic way)

anyone?


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments