beautypg.com

Events> element – Grandstream GXP21xx XML Application Guide User Manual

Page 31

background image

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 31 of 36

If there are multiple input fields defined in one page, please make sure each input element has different

name. And all of them will be appended to the commandArgs with the sequence of input fields.

Users could append the input field to a URL which contains the variable already. For example, user enters

password 1234 in input field where input name=password. To construct link

"192.168.40.144/Survey/page2.php?id=1234&password=1234", use the following commandArgs.

Also, HTTPS URL can be used.

Example 4 - QuitApp:

A softkey "Exit" will be displayed. When pressing it, phone will quit the XML application and go back to idle

screen.

ELEMENT

This element enables the phone to respond to certain pre-defined event.

Event

commandArgs="192.168.40.144/Survey/page2.php?id=" />

commandArgs="https://192.168.40.144/Survey/start.php" />