Last reviewed: 3/23/2024 12:28:06 PM
<nomatch>
A <nomatch> element catches a nomatch event.
Syntax
<nomatch cond="expression"
count="integer" />
Attributes
cond
An optional condition to test to see if the event is caught by this element. The default value is true.
count
The event count.
Children
<assign>, <audio>, <clear>, <disconnect>, <enumerate>, <exit>, <goto>, <if>, <log>, <prompt>, <reprompt>, <return>, <script>, <submit>, <throw>, <value>, and <var>.
Parents
<field>, <form>, <initial>, <menu>, <object>, <record>, <subdialog>, <transfer>, and <vxml>.
Variables
_event
The _event shadow variable identifies the event name that caused the exception.
_message
The user-defined message from the event.
Example
The following example illustrates using example elements.
<nomatch>I heard something, but it wasn't a known city.</nomatch>
Version Information
Supported in: VoiceXML 1.0, VoiceXML 2.0, and VoiceXML 2.1.