Newbie VXML question
Posted: Thu Jul 09, 2009 10:36 am
Totally new to VXML. What I want to do is let the caller verify the information
they entered. Return a 1 or a 0 to the survey question to perform skip logic.
Would you let me know what I have wrong below?
<vxml version="2.0">
<form>
<block>
<prompt>
Please verify the following information you entered.
Store ID: <value expr="'11111'"/>.
Last 4 digits of your Social Security Number: <value expr="'1234''"/>.
4 Digits Month and Day of your Birthday: <value expr="'1223'"/>.
</prompt>
</block>
</form>
<menu>
<prompt> Is this correct? </prompt>
<choice next="#yes"> Yes </choice>
<choice next="#no"> No </choice>
</menu>
<form id="yes">
<block>
Yes
<var name="result" expr="'1'"/>
</block>
</form>
<form id="no">
<block>
No
<var name="result" expr="'0'"/>
</block>
</form>
<return namelist="result"/>
</vxml>
they entered. Return a 1 or a 0 to the survey question to perform skip logic.
Would you let me know what I have wrong below?
<vxml version="2.0">
<form>
<block>
<prompt>
Please verify the following information you entered.
Store ID: <value expr="'11111'"/>.
Last 4 digits of your Social Security Number: <value expr="'1234''"/>.
4 Digits Month and Day of your Birthday: <value expr="'1223'"/>.
</prompt>
</block>
</form>
<menu>
<prompt> Is this correct? </prompt>
<choice next="#yes"> Yes </choice>
<choice next="#no"> No </choice>
</menu>
<form id="yes">
<block>
Yes
<var name="result" expr="'1'"/>
</block>
</form>
<form id="no">
<block>
No
<var name="result" expr="'0'"/>
</block>
</form>
<return namelist="result"/>
</vxml>