Option

Option

in

An option list is represented by a set of <option> elements contained in a <field> element. Each <option> element contains PCDATA that is used generate a speech grammar. The DTMF attribute indicates the DTMF sequence. It is equivalent to a simple DTMF <grammar>, and DTMF properties apply to recognition of the sequence. The value attribute indicates the string to assign to the field’s form item variable when a user selects this option, whether by speech or DTMF. The default assignment is the CDATA content of the <option> element, with leading and trailing white space removed. If this does not exist, then the DTMF sequence is used instead. The accept attribute defaults to exact. When set to "exact", the text of the option element defines the exact phrase to be recognized. When set to "approximate", the text of the option element defines an approximate recognition phrase.

Related links

Search Glossary

Term of the Day

The record element is an input item that collects a recording from the user in a VXML application.