|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The return Element - <return>
Description: Return ends execution of a subdialog and returns control and data to a calling dialog.
Example:
<form id="getssn">
<field name="ssn">
<grammar src="http://grammarlib/ssn.gram" type="application/x-jsgf"/>
<prompt> Please say social security number. </prompt>
<nomatch count=3>
<return event="nomatch"/>
</nomatch>
<filled>
<return namelist="ssn"/>
</filled>
</field>
</form>
| Attributes |
| Name |
Value |
Description |
| event |
PCDATA |
Return, then throw this event. |
| namelist |
PCDATA |
Variable names to be returned to calling dialog. The default is to
return no variables; this means the caller will receive an empty
ECMAScript object. |
Back to Tag Listing
|
|