developer_guide:voicexml_references:elements:field

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer_guide:voicexml_references:elements:field [2015/10/27 12:30] – created borjadeveloper_guide:voicexml_references:elements:field [2017/03/21 14:21] (current) – [DTMF Built-in types] borja
Line 39: Line 39:
 The following built-in types are supported for the DTMF input mode: The following built-in types are supported for the DTMF input mode:
 boolean boolean
-The grammar for affirmative and negative phrases.  It returns "true" for yes and "false" for no+  * The grammar for affirmative and negative phrases.  It returns "true" for yes and "false" for nodigits
-digits +  The grammar for a string of digits from spoken or DTMF input.  It returns the string of digits number
-The grammar for a string of digits from spoken or DTMF input.  It returns the string of digits. +  The grammar for numbers.  It returns a string of digits from 0 to 9, and may optionally include a decimal point (".") and/or a plus or minus sign
-number +  * The grammar text. It use the SpeechToText ressources to convert the users speaking into text. The text is set in the variable content.
-The grammar for numbers.  It returns a string of digits from 0 to 9, and may optionally include a decimal point (".") and/or a plus or minus sign.+
  
 ===== DTMF Built-in type parameters ===== ===== DTMF Built-in type parameters =====
Line 59: Line 58:
 |digits|length - exact number of digits.| |digits|length - exact number of digits.|
 |number|length - exact number of numbers.| |number|length - exact number of numbers.|
 +|text|lang - the speech language to use.|
  
 If there is a conflict among these parameters, an error.badfetch event is thrown. If there is a conflict among these parameters, an error.badfetch event is thrown.
  • developer_guide/voicexml_references/elements/field.1445949010.txt.gz
  • Last modified: 2015/10/27 12:30
  • by borja