VoiceXML Forum Community Message Board


Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» VoiceXML Forum Community Message Board   » Multimodal   » creating alert window from vxml form

 - UBBFriend: Email this page to someone!    
Author Topic: creating alert window from vxml form
abc
Junior Member
Member # 3455

Icon 1 posted April 11, 2006 08:34 AM      Profile for abc   Email abc   Send New Private Message       Edit/Delete Post   Reply With Quote 
Hi,

I am trying to open an alert window at the noinput/nomatch event of a vxml form that is called from a button click event in the xhtml.

1. but the problem is that the alert window is opening BEFORE the voice prompt of nomatch/noinput event whereas I want to open it AFTER that

2. How can I open alert windows for a specific occurance of nomatch/noinput events? (2nd/3rd nomatch events etc)

3. Is there a better way to do this?

this is what I am doing ->

javascript in the 'head' -
script language="JavaScript" type="text/javascript" id="vxml_nomatch_handler" declare="declare"
alert("my alert")
/script

vxml form -
vxml:form id="myForm">
vxml:field name="myField"
.....
vxml:catch event="help nomatch noinput"
my voice message
/vxml:catch
.....
/vxml:field
/vxml:form

xhtml 'body' -
button type="button" id="myButton" value="button" name="myButton" ev:event="click" ev:handler="#myForm"

listener -
ev:listener ev:observer="myButton" ev:event="vxmlnomatch" ev:handler="#vxml_nomatch_handler"/

Posts: 5 | Registered: Apr 2006  |  IP: Logged


All times are Eastern  
Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | VoiceXML Forum



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2