mary07
Posts: 16
|
| Posted: 06/15/2008, 10:56 AM |
|
What am I missing??
I made an application with CCS 4. I want my users to be able to use the 10 keypad for typing in the numbers, like phone numbers, zip codes, etc. When I use the 10 Keypad to type the numbers, it types letters. What am I missing? Why is this typing letters and how do I get it to type the numbers?
Even if you don't know how to correct it, an explanation of why this could be happening would be very helpful. Thanks in advance.
|
 |
 |
Eydun
|
| Posted: 06/16/2008, 2:13 PM |
|
That does not sound like a problem with CCS, but something else. Maybe you
need to press the NumLock-key?
"mary07" <mary07@forum.codecharge> skrev i en meddelelse
news:2485557c93fc20@news.codecharge.com...
> What am I missing??
>
> I made an application with CCS 4. I want my users to be able to use the
> 10
> keypad for typing in the numbers, like phone numbers, zip codes, etc.
> When I
> use the 10 Keypad to type the numbers, it types letters. What am I
> missing?
> Why is this typing letters and how do I get it to type the numbers?
>
> Even if you don't know how to correct it, an explanation of why this could
> be
> happening would be very helpful. Thanks in advance.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>
|
|
|
 |
wkempees
Posts: 1679
|
| Posted: 06/17/2008, 1:47 PM |
|
Altough Eydun is probably right in that your problem is not a CCS problem, I am curious to know what characters are typed when using he numkeypad.
Are they always the same 10 characters?
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
mary07
Posts: 16
|
| Posted: 06/17/2008, 5:23 PM |
|
Yes, I think you are right. I think I've narrowed the problem down to the javascript that adds input masks to certain fields .. like phone number (###) ###-####. But, yes, it types the same letters every time.. starts 1=a .. and goes up.
|
 |
 |
marcwolf
Posts: 361
|
| Posted: 06/17/2008, 5:55 PM |
|
Ah.
I do remember that somne javascript functions can use the SCAN numbers of the keys, not the ASCII number.
This means that each key (even if it gives the same character like the left arrow) will return a singular number and this can be translated.
Hope this helps
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
 |
 |
|