2.1. Forms

A dialog is the basic unit of interaction in VoiceXML. Just about every VoiceXML tag must be enclosed within either a form element or a menu element in order to do anything. Of these two types of dialogs, forms are the more general case. We will discover in 2.7, “Menus,” on page 86 that menus are in fact just a special case of forms. This section will provide an in-depth examination of what a VoiceXML form is and how you can use forms to author VoiceXML applications.

2.1.1. The form defined: a customer satisfaction survey form

A form is one or more related questions that your voice application needs to ask the user. The notion of a form is not unique to voice-applications. Think, for example, of a customer service questionnaire ...

Get Definitive VoiceXML™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.