ZVON > References > VoiceXML Reference
Element:record
Attributes: | beep | cond | dtmfterm | expr | finalsilence | maxtime | modal | name | type |
Parents: | form |
Children: | audio | catch | enumerate | error | filled | grammar | help | noinput | nomatch | prompt | property | value |
Description:

Go to Standard

Examples:


<vxml version="1.0">
     <form>
          <record name="greeting" beep="true" maxtime="10s" finalsilence="4000ms" dtmfterm="true" type="audio/wav">
               <prompt> At the tone, please say your greeting. </prompt>
               <noinput> I didn't hear anything, please try again. </noinput>
          </record>
          <field name="confirm" type="boolean">
               <prompt> Your greeting is
                    <value expr="greeting"/>.
               </prompt>
               <prompt> To keep it, say yes. To discard it, say no. </prompt>
               <filled>
                    <if cond="confirm">
                         <submit next="save_greeting.pl" method="post" namelist="greeting"/>
                    </if>
                    <clear/>
               </filled>
          </field>
     </form>
</vxml>