SnomIPPhoneInput #
Demo
- Phone differentiate between two characters input by the time between the the release of the first key and press of the second key.
- The default value can bypass the input flag. This mean telephone can still send character even if the character can't be entered through phone keys. As example text as default value can still be send when number input flag is chosen.
- The default value will be directly replaced with * character on password and numeric password input flag.
- If no input flag defined the normal text input flag will be chosen.
- You can define the character given from a key by changing these two setting, chars in lower case and chars in upper case setting.
- Please note that, that the defined character(s) must be supported by the phone PUI language.
Example for URL tag:
<Url>http://example.com/example.php?myvar=__X__</Url>[...] <InputToken>__X__</InputToken>
<Url>http://example.com/example.php#var:foo=$$$BAR$$$</Url>[...]<InputToken>$$$BAR$$$</InputToken>
Input flag:
Input flag | Input flag description | Option to change input mode | Default input mode |
---|---|---|---|
a | normal text | All modes are selectable and working | lowercase |
t | telephone number | All modes are selectable but not working | number |
n | number | no mode available | number |
e | number with text | All modes are selectable and working | number |
u | uppercase text | number mode is show but can't be chosen | uppercase |
l | lowercase text | uppercase mode is show but can't be chosen | lowercase |
p | password | All modes are selectable and working | lowercase |
pn | nummeric password | All modes are selectable and working | number |
Info
Avoid to input following sequence:
- warm start: **##
- cold start: **#*
- reset values: * volume+ * volume- # (snom 3xx series only)
<?xml version="1.0" encoding="utf-8"?>
<SnomIPPhoneInput>
<Url>http://example.com/example.php?myvar=__X__</Url>
<InputItem>
<DisplayName>Title</DisplayName>
<InputToken>__X__</InputToken>
<DefaultValue>Input</DefaultValue>
<InputFlags>a</InputFlags>
</InputItem>
</SnomIPPhoneInput>
Result
InputMask #
Demo
When using this tag you limit the position and input mode on this object. But at the same time this also limit characters 9, a and A, which used to be mask.
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<Url>snom://mb_nop#action_ifc:date_time=set,time=__Y__</Url>
<InputItem>
<DisplayName>Time:$(time)</DisplayName>
<InputToken>__Y__</InputToken>
<InputMask>99:99</InputMask>
<InputFlags>a</InputFlags>
<DefaultValue>00:00</DefaultValue>
</InputItem>
</SnomIPPhoneInput>
Result