Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer_guide:voicexml_references:elements:help [2015/10/27 12:56] (current)
borja created
Line 1: Line 1:
 +====== < help > ======
  
 +===== Description =====
 +
 +The < help > element catches a help event. This is a shorthand notation for < catch event="​help"​ >.
 +
 +===== Syntax =====
 +
 +<​code>​
 +<help
 +count="​Integer"​
 +cond="​ECMAScript_Expression">​
 +child elements
 +</​help>​
 +</​code>​
 +
 +===== Attributes =====
 +
 +|count|The count attribute is the event count just as in the <​catch>​ element. ​ This attribute is optional.|
 +|cond|The cond attribute is a Boolean condition to test to see if the event is caught by the <​help>​. ​ This attribute is optional.|
 +
 +===== Parents =====
 +
 +<​code>​
 +<​field>,​ <​form>,​ <​initial>,​ <​menu>,​ <​object>,​ <​record>,​ <​subdialog>,​ <​transfer>,​ <​vxml>​
 +</​code>​
 +
 +===== Children =====
 +
 +<​code>​
 +<​assign>,​ <​audio>,​ <​clear>,​ <​disconnect>,​ <​enumerate>,​ <​exit>,​ <​goto>,​ <if>, <​prompt>,​ <​reprompt>,​ <​return>,​ <​script>,​ <​submit>,​ <​throw>,​ <​value>,​ <var>
 +</​code>​
 +
 +===== Extensions =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Limitations/​Restrictions =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Example Code =====
 +
 +<​code>​
 +<?xml version="​1.0"?>​
 +<vxml version="​2.0"​ xmlns="​http://​www.w3.org/​2001/​vxml">​
 + <​link dtmf="​*"​ event="​help"​ />
 + <​form> ​
 +  <field name="​hello">​
 +   <​option dtmf="​0">​0</​option>​
 +   <​help>​Just press 0.</​help>​
 +   <​prompt>​Say hello</​prompt>​
 +   <​noinput>​Say something</​noinput>​
 +   <​nomatch>​It is not 0.</​nomatch>​
 +   <​filled>​
 +    <​prompt>​Hello,​ world!</​prompt>​
 +   </​filled>​
 +  </​field>​
 + </​form>​
 +</​vxml>​
 +</​code>​