abc
Junior Member
Member # 3455
|
posted April 11, 2006 08:34 AM
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
|