Skip to main content

Notifications

Community site session details

Community site session details

Session Id : sudbqhgNv+cPMqKM4F99KL
Power Apps - Building Power Apps
Unanswered

Add dashes in Spaces and all text in lowerCases

Like (0) ShareShare
ReportReport
Posted on 27 Jan 2023 05:52:33 by 36

I have two InputCard, One is user input and other is disables, When user input in first DataCardValue then second DataCardvalue default fill with lowercases and add dashes instead of spaces.

For Example, In below first datacard user enter Daily Monitoring, so in the second by default it convert to lowercases and dash instead of space

Anonymous221221_0-1674798546763.png

 

  • WarrenBelz Profile Picture
    146,651 Most Valuable Professional on 27 Jan 2023 at 08:18:44
    Re: Add dashes in Spaces and all text in lowerCases

    @Anonymous221221 

    It would be

    TextInput1.Text & "-" & Lower(TextInput2.Text)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Anonymous221221 Profile Picture
    36 on 27 Jan 2023 at 07:25:49
    Re: Add dashes in Spaces and all text in lowerCases

    Hi @WarrenBelz 

     

    Textinput1 & Textinput2 must be in Textinput3 with lowercases and dashes

    For example, In TextInput1 we have 2023 and Textinput2, we have Daily Monitoring so In TextInput3, we have 2023-daily-monitoring 

  • WarrenBelz Profile Picture
    146,651 Most Valuable Professional on 27 Jan 2023 at 06:53:29
    Re: Add dashes in Spaces and all text in lowerCases

    Hi @Anonymous221221 ,

    Not sure what you mean ?

  • Anonymous221221 Profile Picture
    36 on 27 Jan 2023 at 06:11:21
    Re: Add dashes in Spaces and all text in lowerCases

    Thanks @WarrenBelz 

     

    One more thing, if add one more textinput value in same formula then?

  • WarrenBelz Profile Picture
    146,651 Most Valuable Professional on 27 Jan 2023 at 05:57:24
    Re: Add dashes in Spaces and all text in lowerCases

    HI @Anonymous221221 ,

    It would be

    Substitute(
     Lower(TopTextBoxName.Text),
     " " ,
     "-"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started