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 / Issue with PowerApps E...
Power Apps
Unanswered

Issue with PowerApps Edit form allowing special characters in number column

(0) ShareShare
ReportReport
Posted on by

Hello PowerApps community,

 

I'm encountering an issue with an Edit form in PowerApps. I have a column named "Study Number" with a data type set to "Number." However, despite specifying the data type as a number, the form is allowing the entry of special characters such as the '%' symbol in the "Study Number" column.

 

Additionally, I'd like to mention that in the backend, in the Dataverse table, the "Study Number" column has a data type of "Single Line of Text."

 

Is there a way to restrict the input to only accept numeric values and prevent the entry of special characters like '%' in a number column within an Edit form, while considering the backend data type? Any insights or suggestions on how to resolve this issue would be greatly appreciated.

 

Thank you!

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Mayankk1H,

     

    Have you set the Format property of the Text Input control to be 'Number'.

    AARON_C_1-1718340907307.png

     

    What do you meant by the data type is set to 'Number'?

  • WarrenBelz Profile Picture
    155,313 Most Valuable Professional on at

    Hi @Mayankk1H ,

    This is a tricky one which I have encountered myself (so I will post from this). % is actually the only non-numeric character other than a decimal point the column will accept - I get around it with this OnChange 

    If(
     "%" in Text(Self.Text),
     Reset(Self)
    )

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 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard