|
Author
|
Topic: A number... then press pound.
|
tojo933
Junior Member
Member # 3691
|
posted August 03, 2006 01:56 PM
I have a number input field that will contain a number of variable legnth. I am using only dtmf input. To keep things simple for the user and the server I would like to have the pound key signal the end of the number. How can this be done?
Sofar: <field name="confirm" type="number"> <prompt>Please enter the number then press pound.</prompt> </field> [ August 03, 2006, 01:57 PM: Message edited by: tojo933 ]
Posts: 3 | Registered: Aug 2006
| IP: Logged
|
|
mheadd
Member
Member # 3181
Member Rated:
|
posted August 03, 2006 05:03 PM
Use the termchar property. By default, this propery is set to '#', so I think your code (as written) will work.
In other words, unless you specifcy differently, the '#' should termiante DTMF entry.
Hope this helps.
-------------------- Mark VoiceinGov.org http://www.voiceingov.org
Posts: 55 | Registered: Jun 2005
| IP: Logged
|
|
tojo933
Junior Member
Member # 3691
|
posted August 03, 2006 08:34 PM
actually, that didn't work. It accepted my input before I hit the # key. I meant this so a pause would not interupt the input. Its fine though. [ August 03, 2006, 09:33 PM: Message edited by: tojo933 ]
Posts: 3 | Registered: Aug 2006
| IP: Logged
|
|
|