WebTextField.Type
From Xojo Documentation
Property (As Integer )
aWebTextField.Type = newIntegerValue
or
IntegerValue = aWebTextField.Type
New in 2011r2
Supported for all project types and targets.
or
IntegerValue = aWebTextField.Type
New in 2011r2
Supported for all project types and targets.
The Type of the TextField.
Notes
Assign a value to Type using one of the WebTextField class constants. They are:
| Constant | Description |
|---|---|
| TypeNormal | A normal text field, no constraints on data entry. Supported on all browsers. |
| TypePassword | A password field. Each character is replaced by bullet characters. Supported on all browsers. |
| TypeEmail | An email address. Supported with Mobile Safari on iOS. |
| TypeNumber | A numeric value. Supported with Mobile Safari on iOS. Supports varies with browsers on other platforms. |
| TypeTelephone | A phone number. Supported with Mobile Safari on iOS. |
| TypeURL | A URL. Supported with Mobile Safari on iOS. |
Example
Specify that the text field will be used to enter a password:
Me.Type = WebTextField.TypePassword
