BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Hope you can help (http://www.blackberryforums.com/showthread.php?t=205003)

Juicylawyer 09-22-2009 03:49 PM

Hope you can help
 
Hope I've not gatecrashed here but I am trying to develop an application that requires users to input numbers into a web-based form. Is there anyway to get the Blackerry to recognise the fields as for numbers only so I don't have to use the "Alt" key to enter them?

Many thanks for any direction.

Dougsg38p 09-22-2009 07:29 PM

You will probably get more activity on your question in a forum that is more focused on web development for the blackberry. The folks here are primarily client-side Java developers.

Try this:

Web Development - BlackBerry Support Community Forums

ptys 09-22-2009 07:50 PM

If you're in control of the web server side, you could try to do something to help it a little. You could add some javascript logic on the page, that would first look at the user agent header, figure out that's a blackberry browser, and then interpret the 9 letter keys as corresponding numbers.

I'm not sure if this would work or not. I don't know if you'd get key events on the field in JS. I don't know how good JS support is in the BB browser.

Quote:

Originally Posted by Juicylawyer (Post 1476079)
Hope I've not gatecrashed here but I am trying to develop an application that requires users to input numbers into a web-based form. Is there anyway to get the Blackerry to recognise the fields as for numbers only so I don't have to use the "Alt" key to enter them?

Many thanks for any direction.


Juicylawyer 09-23-2009 06:41 AM

Dougsg38p and ptys amny thanks for the replies. Off to pester the Web forum;)


All times are GMT -5. The time now is 01:59 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.