beautypg.com

Grandstream GXP21xx XML Application Guide User Manual

Page 25

background image

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 25 of 36

query.

"radio": used for radio selection with

attribute "group";

"checkbox": used for checkbox (multiple)

selection (s).

maxlength Attribute

Optional

int

To limit the input length from users

data-type

Attribute

Optional

"int"/"string" Currently "int" or "string" can be used.

Default value is "string"

styles

Child element

Mandatory int

Input display style

pos_x

Attribute

Mandatory int

Input field displays from X

pos_y

Attribute

Mandatory int

Input field displays from Y

height

Attribute

Mandatory int

Input field height

Example 1 - Input type "text":

An input field which requires maximum 4-digit number to login. The entered digit will display as it is.

Example 2 - Input type "password":

An input field which requires maximum 4-digit password to login. The entered digit will display as * after

2-second idle time or different key pressing.

Example 3 - Input type "hidden":

An input field which requires maximum 4-digit id to login. The input field, the pre-defined text in "value=" or

the entered digits will not display. However, the value can still be passed to the query.

text

" maxlength="4" data-type="int">

password

" maxlength="4" data-type="int">

hidden

" maxlength="4" data-type="int">