This chapter is from the book
3.44 reprompt
Element type |
reprompt |
Attributes |
None. |
Parents |
block | catch | error | filled | help | if | noinput | nomatch |
Children |
None. |
Description |
Instructs the interpreter to play the last prompt visited by the Form Interpretation Algorithm. In the case where a reprompt occurs within an event handler, the FIA will select the next form item to visit and increment the prompt counter by one. Note the reprompt element as described by the specification is still fuzzy and may have platform-specific behavior. We anticipate that future releases will provide further clarification on its use. |
DTD
<!ELEMENT reprompt EMPTY >
Language model
Attributes
None.
Children
None.
Examples
Example 3-55 Using reprompt to revisit prompts within the current scope
<?xml version="1.0" encoding="iso-8859-1"?> <vxml version="2.0"> <form> <field name="PIN" type="digits"> <prompt>Please enter your PIN.</prompt> <catch event="noinput nomatch"> <prompt>I'm sorry. I didn't understand that.</prompt> <reprompt/> </catch> </field> </form> </vxml>