cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ratapof29
Regular Visitor

Substituting commas for dots on text entry

Hello, i would like to make a field subsitute "," for "." on text entry, or on submission of the form.
The field is called DataCardValue11
I have tried adding this: Substitute(DataCardValue11.Text,",",".") to the "OnChange" and "OnSelect" of the field and it dosnt work...
I have also tried adding that to the "OnSave" of the SharepointIntegration object, and it dosnt work also.
Nothing ever happens and no errors 🙄

Thank you!

10 REPLIES 10

You would need to change the first UpdateContext({}) to include a lookup of the data that should be in that field.

 

I would urge you to use @zmansuri 's solution. It is a much more efficient solution if you can get it working properly!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,226)