View Single Post
  #5 (permalink)  
Old 09-25-2007, 04:27 AM
amansundar amansundar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 325
amansundar is on a distinguished road
Default Re: Numeric Textfield Problem

Quote:
uk mobile numbers start 07, but from outside uk it's +447 - one extra digit.

Sorry friend, but I think you didn't understand... I'm talking about a TextField component inside a Form.
When you build a TextField like this:
Code:
new TextField("Example", "123", 20, TextField.NUMERIC);
the implementation should only accept numbers in the textField, and in most cases it does. But the third parameter in the constructor is the max length of the field and in some cellphones like I said above it just accept 10 numbers and nothing more. Even if I tell him to have a bigger max length.

I'm not trying to write a telephone number in this field, but an ID of my country, that has 11 to 14 numbers.

got it??
__________________
cheers
Aman
Reply With Quote