Questions and answers about IVR programming for Plum DEV
Moderators: admin , support
brent.russell
Posts: 50 Joined: Wed Oct 04, 2006 1:34 pm
Location: SOCAL
Contact:
Post
by brent.russell » Tue Feb 06, 2007 4:02 pm
I can never get to number 3 for some reason however I can do # and 2. for number 3
Code: Select all
<filled>
<if cond="confirmMenuChoice=='#'">
<goto next="#hangUp"/>
<elseif cond="confirmMenuChoice==2"/>
<goto next="#moreinfo"/>
<elseif cond="confirmMenuChoice==3"/>
<goto next="main_menu.vxml"/>
</if>
</filled>
<nomatch count="1">
<prompt>you entered an invalid option</prompt>
<reprompt/>
</nomatch>
Am I doing my if statement wrong? I read the documentation and it did not give an example of multiple elseif's... just an else. I can't use an else in my situation.
Thank you
brent.russell
Posts: 50 Joined: Wed Oct 04, 2006 1:34 pm
Location: SOCAL
Contact:
Post
by brent.russell » Tue Feb 06, 2007 4:54 pm
This was my mistake. The else if was working all along. i was not allowing the other numbers as choices due to my grammars
Thank you