CallXML 2.0 Development GuideHome  |  Frameset Home

This documentation is for CallXML 2, which has been superceded by CallXML 3. The CallXML 2 language is not being updated any longer. CallXML 3, however, has many new features and is actively being enhanced. If you're writing a new CallXML application, you should use CallXML 3. Click here for the CallXML 3.0 documentation.
<onmaxdigits>  element

This event occurs during user input if the length of the string of digits entered by the user exceeds the number indicated by a maxDigits attribute and a terminating digit has not yet been pressed.


usage
<onmaxdigits next="(navigation identifier)">


attributes
nextData Type: (navigation identifier)Default: none - attribute is optional
The 'next' attribute sets the URL the CallXML platform will go to when the container ends.



possible events
none


code samples
<Onmaxdigits>
<?xml version="1.0" encoding="UTF-8"?>

<callxml version="2.0">
  <block label="B1">
    <text>
      Blindly pressing digits can be fun.
      Lets do it until the maxdigits event is reached.
    </text>
    <getdigits var="Var_1" maxdigits="5"/>

    <onmaxdigits>
      <text>
        You must have pressed a total of five digits, which were $Var_1;
      </text>
    </onmaxdigits>

  </block>
</callxml>




additional links
none


  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login



© 2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site