cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DB_OK
Frequent Visitor

Input Number or Text without dot or commas

Hello there,

 

I am doing an input text (number format) and I need users to only be able to use numbers and not allow them to use dot or commas.


I could use it in text format or number it is indistinct.

 

I can not figure out how to do it or manage to give it the format so that the user cannot write it and in the case that he can, delete it

1 ACCEPTED SOLUTION

Accepted Solutions
zmansuri
Super User
Super User

a.jpga1.jpga2.jpga3.jpg

 

Even user types comma as soon as he get out of textbox comma will be removed. You can use it with both

View solution in original post

3 REPLIES 3
zmansuri
Super User
Super User

a.jpga1.jpga2.jpga3.jpg

 

Even user types comma as soon as he get out of textbox comma will be removed. You can use it with both

DB_OK
Frequent Visitor

I tried with dot but didnt work

Set(varTest,Substitute(Substitute(Self.Text,",",""),".",""))

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,330)