Skip to main content

Notifications

Community site session details

Community site session details

Session Id : izIfdvsKEshWQciIQzWR40
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
    147,065 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
    147,065 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
    147,065 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 Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 177 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 97

#3
stampcoin Profile Picture

stampcoin 80

Overall leaderboard