Differences

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

Link to this comparison view

developer_guide:voicexml_references:elements:reprompt [2015/10/27 21:43] (current)
borja created
Line 1: Line 1:
 +====== < reprompt > ======
  
 +===== Description =====
 +
 +The <​reprompt>​ element replays a previously played prompt. ​ Normally, the interpreter stops playing prompts on the next form item after executing a <​catch>​ element. ​ However, if a <​reprompt>​ is executed in the catch, the interpreter will process a normal prompt for the next form item.  This includes a selection of a prompt and an incremental addition to the prompt counter.
 +
 +===== Syntax =====
 +
 +<​code>​
 +<​reprompt/>​
 +</​code>​
 +
 +===== Attributes =====
 +
 +None.
 +
 +===== Parents =====
 +
 +<​code>​
 +<​block>,​ <​catch>,​ <​error>,​ <​filled>,​ <​help>,​ <if>, <​noinput>,​ <​nomatch>​
 +</​code>​
 +
 +===== Children =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Extensions =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Limitations/​Restrictions =====
 +
 +<​code>​
 +None.
 +</​code>​
 +
 +===== Example Code =====
 +
 +<​code>​
 +<?xml version="​1.0"?>​
 +<vxml version="​2.0"​ xmlns="​http://​www.w3.org/​2001/​vxml">​
 + <​form>​
 + <​field name="​hello">​
 +  <grammar type="​text/​x-grammar-choice-dtmf">​
 +   1 {hello}
 +  </​grammar>​
 +  <​prompt>​Say hello</​prompt>​
 +  <​noinput><​reprompt/></​noinput>​
 +  <​nomatch><​reprompt/></​nomatch>​
 +  <​filled>​
 +   <​prompt>​Hello,​ world!</​prompt>​
 +  </​filled>​
 + </​field>​
 + </​form>​
 +</​vxml>​
 +</​code>​