VoiceXML Forum Community Message Board


Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» VoiceXML Forum Community Message Board   » Newbies   » VXML field Type

 - UBBFriend: Email this page to someone!    
Author Topic: VXML field Type
Carlos
Junior Member
Member # 3562

Icon 1 posted May 23, 2006 08:07 AM      Profile for Carlos         Edit/Delete Post   Reply With Quote 
hello

anyone knows haw to store more than one digit via dtmf?

for store one digit I do:
<field name="user" type="digits?length=1">

but qwhen I put
<field name="Estado" type="digits?length=9">

it only recognise one digit.

any ideas???
thnaks in advance

Posts: 1 | Registered: May 2006  |  IP: Logged
SDave
Junior Member
Member # 3659

Icon 1 posted July 04, 2006 12:39 PM      Profile for SDave     Send New Private Message       Edit/Delete Post   Reply With Quote 
When I tried the same it's taking 9-digit number.
(ex:123456789)

The code is :
<field name="num" type="digits?length=9">
<prompt>
Enter your number.
</prompt>
</field>

Posts: 1 | Registered: Jul 2006  |  IP: Logged
saurabh
Junior Member
Member # 3731

Rate Member
Icon 7 posted August 22, 2006 08:04 AM      Profile for saurabh   Author's Homepage   Email saurabh   Send New Private Message       Edit/Delete Post   Reply With Quote 
i think you may use minlength=1
and maxlenght=9(whatever length you wish)
with type="digit?length"..
I will suggest you to elobarate your application
a bit more and then maybe i can help.

--------------------
SNirkhey

Posts: 2 | From: India | Registered: Aug 2006  |  IP: Logged


All times are Eastern  
Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:

Contact Us | VoiceXML Forum



Powered by Infopop Corporation
UBB.classicTM 6.3.1.2