Showing results for 
Search instead for 
Did you mean: 
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!


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

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,992)