Large numbers

Hello,

This is a simple question, but I could not find an easy answer.

I have a phone number field in my form, which I defined as an
integer. However, that only seems to allow for 9 digits. Is there
some way to overcome this? I do not want to define the field as a
string, since that sets the keypad to letters. Thanks!

Best,
David

yeah, this is known problem. if you mark a node as a number, we store
it in code as a number and thus must limit how big the number can be.
we should probably have a way to mark nodes as a string of numbers.

i've filed a bug at http://code.google.com/p/opendatakit/issues/detail?id=206

··· On Wed, Apr 20, 2011 at 00:02, David wrote: > Hello, > > This is a simple question, but I could not find an easy answer. > > I have a phone number field in my form, which I defined as an > integer. However, that only seems to allow for 9 digits. Is there > some way to overcome this? I do not want to define the field as a > string, since that sets the keypad to letters. Thanks! > > Best, > David > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

David,

I havne't tried this, but since the capability to put multiple fields
on the same form, might it be possible to separate the area code from
the 7 digit phone number?
Of course, this might only work if your phone number is actually less
than 9 digits.

Mike

··· On Apr 20, 12:02 am, David wrote: > Hello, > > This is a simple question, but I could not find an easy answer. > > I have a phone number field in my form, which I defined as an > integer. However, that only seems to allow for 9 digits. Is there > some way to overcome this? I do not want to define the field as a > string, since that sets the keypad to letters. Thanks! > > Best, > David