Element type | return |
Attributes | event | namelist |
Parents | block | catch | error | filled | help | if | noinput | nomatch |
Children | None. |
Description | Returns control to the calling dialog; used in a subdialog to return data or an event. |
<!ELEMENT return EMPTY > <!ATTLIST return namelist %field.names; #IMPLIED event %event.name; #IMPLIED >
event : event.name
Returns control to the dialog and throws an event.
namelist : field.names
A list of variables to return to the calling dialog.
None.
<?xml version="1.0" encoding="iso-8859-1"?> <vxml version="1.0"> <form> <subdialog name="result" src="#collectInfo"> <filled> We want to verify the information collected. Your birthdate is <value expr="result.itemdate"/>, your daytime phone number is <value expr="result.itemphone"/>, and your temporary password is <value expr="result.pwd"/>. </filled> </subdialog> </form> <form id="collectInfo"> <var name="pwd" expr="'twilight'"/> <field name="itemdate" type="date"> <prompt> What is your birthdate? Please say the month, date, and year. </prompt> </field> <field name="itemphone" type="phone"> <prompt> Please say your daytime phone number and extension, starting with the area code. </prompt> </field> <filled mode="all"> <return namelist="itemdate itemphone pwd"/> </filled> </form> </vxml> |
18.116.21.109