From Xojo Documentation

Property (As String )
aWebTextControl.Value = newStringValue
StringValue = aWebTextControl.Value

New in 2020r1

Supported for all project types and targets.

Specifies the text displayed in the control.

Sample Code

To set the Value for a WebLabel:

Label1.Value = "Name:"

To set the Value for a WebTextField:

TextField1.Value = "Bob Roberts"

To set the Value for a WebTextArea:

TextArea1.Value = "1 Main Street" + EndOfLine + "Anytown, NY 12345"

See Also

WebLabel, WebTextField, WebTextArea, WebSearchField classes.