web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The Number KeyBoard, I...
Power Apps
Suggested Answer

The Number KeyBoard, Input in IOS and Android ( dot & command)

(1) ShareShare
ReportReport
Posted on by 2
Dear team,
 
I designed the power apps to input the PH of water, I have input text with format = Number , VirtualKeyboardMode = VirtualKeyboardMode.Text , Can not change VirtualKeyboardMode = VirtualKeyboardMode.Number
because some phone using the VietNammess with the command . Some phong still use the English with the Dot to seperate the float number.
 
The issue is, User can use the dot and command in the virtual key board, when the use use the command in android is OK, but if they use the dot, the value dont have float.
ex:
Android:
the user input: 7,87 -> power apps: 7,87
the user input: 7.87 -> power apps: 787
ISO or English:
the user input: 7.87 -> power apps: 7.87
the user input: 7,87 -> power apps: 787
 
That is big problem for this apps.
Thanks.
 
Please help me find solution for this.
Phun Quoc Viet.
 
z6589740474894_e089d8e035b4a0754cc43668b0177586.jpg
z6589741253329_2420ba00fbef5cf072de93fc6a77c152.jpg
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,834 Super User 2026 Season 1 on at
     

    It sounds like you're facing a challenging issue with the input format for pH values in your Power Apps. Here are a few suggestions that might help resolve this problem:

    1. Custom Validation: Implement custom validation logic to handle both comma and dot as decimal separators. You can use the OnChange property of the text input control to check the input and convert it accordingly.

    2. Locale Settings: Adjust the locale settings of your app to ensure it correctly interprets the decimal separator based on the user's language settings. This can be done by setting the Language property of the app.

    3. Regular Expressions: Use regular expressions to replace commas with dots or vice versa before processing the input. This can be done within the OnChange event of the text input control.

    4. Separate Input Fields: Consider providing separate input fields for users based on their locale. For example, one field for users who use commas and another for those who use dots.

    5. Custom Keyboard: If possible, create a custom keyboard layout that only allows the correct decimal separator based on the user's locale.

    Here's a sample formula for custom validation using the OnChange property:

    If(

        IsMatch(TextInput.Text, "^\d+,\d+$"),

        Set(TextInput.Text, Substitute(TextInput.Text, ",", ".")),

        TextInput.Text

    )

    This formula checks if the input contains a comma and replaces it with a dot.

    If the response is helpful to you, a like or mark as the correct solution. thank you so much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard