Tommy B
Posts: 0
Joined: Sat Sep 15, 2012 3:39 am

Mobile App Input component type as Number only

I am building a mobile app that is not html5 and i would like the input component to be set to accept numbers only. Currently it only allows to to specify text or password.

Tommy B
Posts: 0
Joined: Sat Sep 15, 2012 3:39 am

Mobile App Input component type as Number only

Ok so what I did was in the onload I set the HTML of the input component to number. It seemed to work but I am wondering if that is the correct was to do this?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Mobile App Input component type as Number only

That's one way to do it. You can also try using More Properties and set the "type" to the type you need. It's a bug that you don't have more options for selecting type in Properties and will be fixed.

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Mobile App Input component type as Number only

Hi!

I drop a input field on the page in the new builder. Then I select More Properties.

Image

I save and the test. But when tested through the Tiggzi Tester it doesn't work. Have I done something wrong?

Ole.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mobile App Input component type as Number only

Hello! Let me test it too. I'll let you know about the result.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mobile App Input component type as Number only

Please take a look at this http://jquerymobile.com/test/docs/for...

"One major advantage of using these more specific input types if that on mobile devices, specialized keyboards or pickers that speed data entry are offered in place of the standard text keyboard. Support for each input type will vary greatly across platforms, but these generally fall back to a basic text input if not understood."

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

Mobile App Input component type as Number only

That fine with me. Iphone and modern Android phones seems to support numbers. And my app wont crash if letters are entered either. But if will really speed up the process when entering time values and general numbers.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Mobile App Input component type as Number only

I've already reported about this problem. Should be available in the end of March.

Andreas5746429
Posts: 0
Joined: Thu Apr 11, 2013 4:11 pm

Mobile App Input component type as Number only

Any news on this?

I tried both suggestions... added a property with type, number values ...
No go.
Tried changing the type in javascript unload, but safari complained that type property cannot be changed.

What now? I was hoping to force the device to show the numbers keyboard. It would be much easier to type for the user.

Thanks,
Andreas

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Mobile App Input component type as Number only

Hi Andreas,

You can create text field for entering numbers using Panel component with the following HTML code:
code<input id="numberInput" name="numberInput" type="number" &#47;>/code
The component can't be used in mapping and events.

The problem will be solved after the next Tiggzi release.

Return to “Issues”