Is there a way to add instructional text to my text field that will disappear when clicked? I want to add some text into a form field to instruct respondents how to fill out the field and have the text disappear when the respondent clicks the field. Is this possible? !
Views
Replies
Total Likes
Try this:
this.execEvent("exit");
this.format.picture.value = "null{'" + this.assist.toolTip.value + "'}";`
this.fontColor = "0,0,0";
this.font.posture = "normal";
Finally, place this code in the field's exit event:
if (this.isNull){
this.fontColor = "153,153,153";
this.font.posture = "italic";
this.caption.font.fill.color.value = "0,0,0";
this.caption.font.posture = "normal";
}
Now, preview your form. The instructional text should be in a grey color in italicized font. When your user types in the field, the instructional text will disappear.
Views
Replies
Total Likes
Thank you your quick reply ! I will check it today...Have a nice day..
Views
Replies
Total Likes