Force numeric keyboard for string field

Discussions regarding 1C:Enterprise for mobile devices with Android, iOS, or Windows Phone.

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

I have one field which always is numeric, but with leading zeros. If use numeric field I have problems with leading 0, if I select string field I get alfanumeric keyboard. Is there any way to force numeric keyboard?

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

Try to use the display format of the field:

 
#3
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

It is not always 10 characters length. It could be 10, it could be 13. Think of international telephone number as an example. It could be variable length, but number of leading zeros is important to make international call correctly.

 
#4
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey.

I have submitted the feature request for that to the developer team.

 
#5
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Alexey!

Here are good news: in 1C:Enterprise mobile platform 8.3.9 there will be a new property of the text input field, named SpecialTextInputMode. You could use this property to define the keyboard to use.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.