Plum DEV Documentation
voicexml:tags:catch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
voicexml:tags:catch [2014/05/29 15:26]
jennifer meta description
voicexml:tags:catch [2016/10/04 10:48]
admin [Example]
Line 1: Line 1:
 {{description>​‹catch› VoiceXML tag details, attributes and VXML code example | The catch element associates a catch with a document, dialog, or form item.}} {{description>​‹catch› VoiceXML tag details, attributes and VXML code example | The catch element associates a catch with a document, dialog, or form item.}}
-===== <​catch>​ =====+====== <​catch> ​======
  
 The <​catch>​ element associates a catch with a document, dialog, or form item. This element is a specific type of XML Events handler that acts as an observer of its parent element. It contains executable content. The <​catch>​ element associates a catch with a document, dialog, or form item. This element is a specific type of XML Events handler that acts as an observer of its parent element. It contains executable content.
Line 31: Line 31:
         <submit next="​process_customer.php"​ namelist="​customer_id"/>​         <submit next="​process_customer.php"​ namelist="​customer_id"/>​
       </​filled>​       </​filled>​
-      <catch event="​nomatch noinput"​ count="​1,2">+      <catch event="​nomatch noinput"​ count="​1"​
 +       <​!-- this code executes for count 1 and 2, the FIA looks at all of the matching <​catch>​ elements and finds the highest count value that is <= the current count-->
         <​prompt>​         <​prompt>​
           Your input was not valid. Your customer identification number is the five digit number on your membership card.           Your input was not valid. Your customer identification number is the five digit number on your membership card.
Line 75: Line 76:
 User: <​silence:​ user enters nothing> <noinput x3> \\ User: <​silence:​ user enters nothing> <noinput x3> \\
 Computer: It seems you are having difficulty with your customer identification number. Please call the number on the back of your membership card. Goodbye. *application hangs up* Computer: It seems you are having difficulty with your customer identification number. Please call the number on the back of your membership card. Goodbye. *application hangs up*
- 
 ==== Child Tags ==== ==== Child Tags ====