<noinput>
Catches a no-input event.
Syntax
<noinput
count="integer"
cond="js_expression"
>
Executable Content
</noinput>
Description
| Attribute |
Description |
count
|
Minimum number of times an error must have occurred during a form or menu invocation. Optional (default is 1).
|
cond
|
JavaScript expression that must also evaluate to true for an event to be caught. Optional (default is true).
|
If multiple handlers for no-input events are defined in, or inherited by, the element in which the events occurs, one handler is chosen based on event count, scope, and document order. See Chapter 3, Event Handling.
|
|
Tip:
|
| | If a JavaScript expression contains any of the characters "<", ">", or "&", that character must be replaced with the corresponding escape sequence "<", ">", or "&". For more information, see JavaScript Quick Reference. |
|
Usage
See Also
Examples
<?xml version="1.0" ?>
<!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 2.0//EN"
"http://cafe.bevocal.com/libraries/dtd/vxml2-0-bevocal.dtd">
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<noinput>
Sorry I did not hear what you said
<reprompt/>
</noinput>
<form id="foo">
<field name="name">
<prompt> What is your favorite color ? </prompt>
<grammar type="application/x-nuance-gsl">
[ red green yellow blue orange ]
</grammar>
<filled>
<prompt> Your favorite color is <value expr="name"/> </prompt>
</filled>
</field>
</form>
</vxml>
[Show Frames] [FIRST] [PREVIOUS] [NEXT]