Code: Select all
<form id="severance">
<catch event="noUnemployedInsurance" count="3">
<prompt cond="culture=='en-US'">Because you have not......</prompt>
<goto next='../Shared.Severance/VXML/EndCall.aspx' maxage="0" maxstale="0"/>
</catch>
<catch event="noUnemployedInsurance">
<prompt cond="culture=='en-US'">You must file...</prompt>
<goto next="#severance" />
</catch>
<field name="isUnemployedInsurance" type="boolean" cond='true' expr='undefined'>
<prompt cond="culture=='en-US'">Have you filed for state unemployment insurance benefits? Please press 1 for yes or 2 for no.</prompt>
</field>
<field name="isUnemployed" type="boolean">
<prompt cond="culture=='en-US'">Are you currently unemployed? Please press 1 for yes or 2 for no.</prompt>
<filled>
<if cond="!isUnemployedInsurance && isUnemployed">
<assign name="isUnemployed" expr="undefined"/>
<assign name="isUnemployedInsurance" expr="undefined"/>
<throw event="noUnemployedInsurance"/>
</if>
</filled>
</field>
....