Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== < value > ====== ===== Description ===== The <value> element inserts the value of an expression in a prompt. ===== Syntax ===== <code> <value expr="ECMAScript_Expression"/> </code> ===== Attributes ===== |expr|The expr attribute is an expression to return. This attribute is required.| ===== Parents ===== <code> <audio>, <block>, <catch>, <choice>, <enumerate>, <error>, <field>, <filled>, <help>, <if>, <initial>, <menu>, <noinput>, <nomatch>, <object>, <prompt>, <record>, <subdialog>, <transfer> </code> ===== Children ===== <code> None. </code> ===== Extensions ===== <code> None. </code> ===== Limitations/Restrictions ===== <code> None. </code> ===== Example Code ===== <code> <?xml version="1.0"?> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <form> <field name="maincourse"> <noinput> <reprompt/> </noinput> <nomatch> <reprompt/> </nomatch> <prompt count="1">Please select an entree.</prompt> <prompt count="2">Today, we're featuring:<enumerate/></prompt> <option dtmf="1" value="fish">swordfish</option> <option dtmf="2" value="beef">roast beef</option> <option dtmf="3" value="frog">frog legs</option> <filled> <prompt> <value expr="maincourse"/>, good choice. Please enjoy your meal. </prompt> <submit next="maincourse.cgi" method="post" namelist="maincourse"/> </filled> </field> </form> </vxml> </code> developer_guide/voicexml_references/elements/value.txt Last modified: 2015/10/27 21:46by borja