WebTextField.CueText

From Xojo Documentation

Property (As String )
aWebTextField.CueText = newStringValue
or
StringValue = aWebTextField.CueText

Supported for all project types and targets.

Specifies the cue text displayed in the control. This is prompt text to help remind the user what the field should contain.

Notes

The CueText is not changeable by the user and its contents are not provided by the Text property. It only serves as a prompt for the user.

CueText is not supported in Internet Explorer 8 or 9.

Examples

To set the cue text:

TextField1.CueText = "First Name"