![Siemens HiPath optiPoint 410 Developer'S Manual Download Page 38](http://html.mh-extra.com/html/siemens/hipath-optipoint-410/hipath-optipoint-410_developers-manual_377163038.webp)
XML Object Reference
18. May 2006
37
optiPoint application module - XML Applications, Developer’s Guide
c01.fm
Form
4.11.4
Form/TextField
An entry field for data is generated, comparable to the
input
tag in HTML. The entry field con-
tains a label. In addition, the data type of the entry can be defined using the Constraint attribute.
The following attributes are available to the
TextField
element:
Attribute
Value
Function
MaxSize
Maximum number
of characters
If the attribute is missing or the value is invalid, the max-
imum number of characters is limited by the capacity of
the display and the buffer of the optiPoint phone con-
nected.
Constraint
(optional)
ANY
Default value. Any character string is permitted.
NUMERIC
The data entered must be numeric. Other keyboard en-
tries are ignored.
PASSWORD
The data entered are treated as a password.
Asterisks * are displayed instead of the characters actu-
ally entered.
PHONENUMBER
The data entered must be in a telephone number for-
mat. Validation is currently not yet implemented.
URL
The data entered must represent a valid URL. Validation
is currently not yet implemented.
EMAILADDR
The data entered must represent a valid e-mail address.
Validation is currently not yet implemented.
Default
(optional)
NULL
An empty entry field is displayed; the
Text
element
content is ignored.
Text
The entry field contains the content of the
Text
ele-
ment.
PHONENUMBER
The textbox contains the telephone number of the opti-
Point phone.
Key
(optional)
Key
The value of this attribute is used as a key for submitting
the data. The associated value is the content of the
Text
element.
Table 4-3