Sumbit Return not working
Posted: Mon May 22, 2006 1:16 pm
This is my sample code
<vxml version="2.0">
<form id="login">
<field name="userid" type="digits">
<prompt>Please enter your ID number</prompt>
</field>
<field name="pwd" type="digits">
<prompt>Please enter your password</prompt>
</field>
<filled>
<submit next="http://serverip/default.asp" namelist="userid" method="get"/>
</filled>
</form>
<form id="out">
<block>
<prompt> Good Bye.</prompt>
<disconnect/>
</block>
</form>
</vxml>
submit will call a ASP page which will depending on the successful validation will create the vxml as follows
<vxml version="2.0">
<form>
<block><prompt>Your user id number is valid.</prompt>
<goto next="#out"/>
</block>
</form>
</vxml>
i assumed that the 2nd vxml will be returned to the caller form but
this does not return to the initial vxml document when the user is validated it will give the msg that user is valid and without going to "goto next' it gives a error. how can i make this return to the form out?
<vxml version="2.0">
<form id="login">
<field name="userid" type="digits">
<prompt>Please enter your ID number</prompt>
</field>
<field name="pwd" type="digits">
<prompt>Please enter your password</prompt>
</field>
<filled>
<submit next="http://serverip/default.asp" namelist="userid" method="get"/>
</filled>
</form>
<form id="out">
<block>
<prompt> Good Bye.</prompt>
<disconnect/>
</block>
</form>
</vxml>
submit will call a ASP page which will depending on the successful validation will create the vxml as follows
<vxml version="2.0">
<form>
<block><prompt>Your user id number is valid.</prompt>
<goto next="#out"/>
</block>
</form>
</vxml>
i assumed that the 2nd vxml will be returned to the caller form but
this does not return to the initial vxml document when the user is validated it will give the msg that user is valid and without going to "goto next' it gives a error. how can i make this return to the form out?