2.7. Menus
A menu is a special case of a form so frequently used that the creators of VoiceXML made a shorthand notation for it - the menu element type. A menu is similar to a form with only one question. For example, a banking application might present a menu like:
Would you like to: * Check your account balance, * Transfer funds, or * Speak with a customer service representative?
There is only one question - what does the customer want to do? There are three possible valid answers to this question, namely to check your account balance, to transfer funds, or to speak with a customer service representative.
The menu element type represents this special sort of a form. In VoiceXML, the banking menu described above could be written as in Example ...
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.