developer_guide:voicexml_references:elements:nomatch

no way to compare when less than two revisions

Differences

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


developer_guide:voicexml_references:elements:nomatch [2015/10/27 21:39] (current) – created borja
Line 1: Line 1:
 +====== < nomatch > ======
  
 +===== Description =====
 +
 +The < nomatch > element handles the event when the user gives unrecognized input.  This is a shorthand notation for <catch event="nomatch"> that catches all events of type error.
 +
 +===== Syntax =====
 +
 +<code>
 +<nomatch
 +count="Integer"
 +cond="ECMAScript_Expression">
 +child elements
 +</nomatch>
 +</code>
 +
 +===== Attributes =====
 +
 +|count| The count attribute is the event count 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 < noinput > element. 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">
 + <form>
 +  <field name="hello">
 +   <grammar type="text/x-grammar-choice-dtmf">
 +    1 {hello}
 +   </grammar>
 +   <prompt>Say hello</prompt>
 +   <nomatch>That's not hello</nomatch>
 +   <filled>
 +    <prompt>Hello, world!</prompt>
 +   </filled>
 +  </field>
 + </form>
 +</vxml>
 +</code>
  • developer_guide/voicexml_references/elements/nomatch.txt
  • Last modified: 2015/10/27 21:39
  • by borja