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 / Removing an operator f...
Power Apps
Answered

Removing an operator from a DataCard Value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have a Data Card field which asks users to enter "Efficiency in Percentage" as a number value.

And the field should not have a "%" in its value.

Some users enter number along with %

Eg: 90% instead of 90.This converts the value into a decimal - 0.9

So help me to find a way to find and remove the % operator from the data card when the user clicks submit button

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    A work around would be highlighting the text box fill color:

    If(
    IsMatch(TextInput4.Text, "%",Contains),Red,White)
     
    Or you can also use the DisplayMode of the Save button:
    If(
    IsMatch(TextInput4.Text, "%",Contains),Disabled,Edit)
     
    Or Notification on the Save Button:
    If(
    IsMatch(TextInput4.Text, "%",Contains),Notify("Please Remove the % sign"),SubmitForm(FormName))
     
    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the immediate reply.

    You're solution worked out perfectly for my app

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard