< noinput >
Description
The < noinput > element handles the event when the user does not give inputs in a field. This is a shorthand notation for < catch event=“noinput” > that catches all events of type error.
Syntax
<noinput count="Integer" cond="ECMAScript_Expression"> child elements </noinput>
Attributes
| count | The count attribute indicates 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
<field>, <form>, <initial>, <menu>, <object>, <record>, <subdialog>, <transfer>, <vxml>
Children
<assign>, <audio>, <clear>, <disconnect>, <enumerate>, <exit>, <goto>, <if>, <prompt>, <reprompt>, <return>, <script>, <submit>, <throw>, <value>, <var>
Extensions
None.
Limitations/Restrictions
None.
Example 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>
<noinput>Say something</noinput>
<filled>
<prompt>Hello, world!</prompt>
</filled>
</field>
</form>
</vxml>