Reading multiple digits
Posted: Mon Nov 11, 2013 9:43 am
I have a form and can only get it to respond to single digit input. How can I configure it so that I can detect the entire sequene of digits entered?
Below is an example of what I'm trying to do.
<form id="FormM9a">
<field name="FormM9aChoice" type="digits?length=4;">
<prompt>
<voice name="crystal" age="40">
Medicare is currently not primary for Part A, hospitalization insurance,
and Part B medical insurance. The beneficiary is currently not entitled to part D
prescription drug coverage. To find out if Medicare was principle on a specific date, press 1
for entitlement information, press 2. To repeat the information press the star key to go back press 9
or to speak with a customer service representative press 0.
</voice>
</prompt>
<filled>
<if cond="FormM9aChoice==2234">
<goto next="#FormM10"/>
<elseif cond="FormM9aChoice==1345"/>
<goto next="#FormM1"/>
</if>
</filled>
</field>
</form>
Below is an example of what I'm trying to do.
<form id="FormM9a">
<field name="FormM9aChoice" type="digits?length=4;">
<prompt>
<voice name="crystal" age="40">
Medicare is currently not primary for Part A, hospitalization insurance,
and Part B medical insurance. The beneficiary is currently not entitled to part D
prescription drug coverage. To find out if Medicare was principle on a specific date, press 1
for entitlement information, press 2. To repeat the information press the star key to go back press 9
or to speak with a customer service representative press 0.
</voice>
</prompt>
<filled>
<if cond="FormM9aChoice==2234">
<goto next="#FormM10"/>
<elseif cond="FormM9aChoice==1345"/>
<goto next="#FormM1"/>
</if>
</filled>
</field>
</form>