O'Reilly logo

Definitive VoiceXML™ by David Cuddihy, Adam Hocek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.5. Form items

VoiceXML defines a "form item" as an element that is a child of form and is of one of the following element types:

  • field,

  • block,

  • initial,

  • subdialog,

  • object,

  • record,

  • transfer.

Up until now, we've only discussed the first of these - the field element type. We have also seen form-level filled elements, but these are not considered "form items." A form item has a very particular meaning with respect to the Form Interpretation Algorithm.

Every form item has the following:

result variable

This is an ECMAScript variable whose name is defined by the form item's name attribute, and whose scope is that of the containing dialog. When a form item has been successfully visited, its result variable will contain the result of that visitation. For ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required