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 / Replace "/" and remove...
Power Apps
Answered

Replace "/" and remove spaces at the end on textinput on a form

(0) ShareShare
ReportReport
Posted on by

Hello all, 

 

I've a power app with a form and I need to replace "/" by "-" and also remove spaces at the end and beggining from a text input before suubmiting, because it it contains something like that it will break my flows when creating sharepoint folders with that title.

 

I know how to do both actions but the issue is that to do this needs to be on the update property from the data card and it looks I can't put more that one formula on that property.

 

Miguel_Pst_0-1630665696331.png

 

 

Someone can help me?

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! Why don´t you insert that before submiting the form?

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • Verified answer
    shoog Profile Picture
    2,164 on at

    You need to use the output of the first expression as input of the second expression, so you get just one output value for the update property.

    Substitute(TrimEnds(TitleDataCardValue.Text), "/", "-")

     

  • Miguel_Pst Profile Picture
    on at

    Hey Gonçalo, 

     

    If you're working with a form I don't know why but it doesn't apply those updates. needs to be on the update of the datacard

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard