Announcements
Hi,
How can I validate text input for numbers with period (or dot).
In old control id "Format" option in modern I cant find them.
Hi @knyklu,
I found a post on the Power Platform Community forum that might help you. In the post, a user asked how to validate text input for numbers with period in PowerApps.
You can also try the IsMatch function and a regular expression. Here’s an example formula to validate text input for numbers with period:
IsMatch(TextInput1.Text, "^\\d+(\\.\\d+)?$")
This formula will return true if the text input contains a number with a period and false otherwise.
Thanks,
@SunilPashikanti
Hi @SunilPashikanti
Thanks, but this allways return false
BTW,
Hi @knyklu ,
Sorry for that, can you please try the below code:
IsMatch(TextInput1.Text, "^\d+(\.\d+)?$")
This code works for below validations:
Thanks, works perfect.
BTW, I wish MS Access is dying. In it everything was so easy.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 538 Most Valuable Professional
11manish 307
Haque 305