<param>
<param>
Attributes
Name
Data type
Description
String
String
String
String
Notes
Example
<?xml version="1.0"?>
<vxml version="2.0">
<!-- form dialog that calls a subdialog -->
<var name="myname" expr="'Jane Doe'"/>
<form>
<subdialog name="result" src="#getdriverslicense" namelist="myname">
<!-- This will send the variable "birthday" to the -->
<!-- subdialog "#getdriverslicense". -->
<param name="birthday" expr="'February 10th, 1970'"/>
<filled>
You entered <value expr="result.drivelicense"/>.
<submit next="http://nonexistent.domain.com/process.pl"
method="post"
namelist="result.drivelicense birthday"/>
</filled>
</subdialog>
</form>
<!-- subdialog to get drivers license -->
<form id="getdriverslicense">
<!-- In order to receive parameters sent from a "subdialog" tag, -->
<!-- the parameters must be declared within the subdialog with the -->
<!-- exact same name. -->
<var name="birthday"/>
<field name="drivelicense" type="digits">
<prompt>
<value expr="myname"/>,
your birthdate is: <value expr="birthday"/>.
Please say your driver's license number.
</prompt>
<filled>
<return namelist="drivelicense"/>
</filled>
</field>
</form>
</vxml>Child Tags
Parent Tags
Last updated