multiple elseif's
Posted: 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
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
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>Thank you