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 / Patch checkboxes into ...
Power Apps
Answered

Patch checkboxes into a Text Input

(0) ShareShare
ReportReport
Posted on by 901

Happy Wednesday,

 

What is the best approach to patch 2 collection to a Text Input? Is it possible? I hope i explain myself well. 

I am using the following.

 

 

ForAll(colCheckedFlorida,{Value:Title})
ForAll(colCheckedTexas,{Value:Title})

 

 

I need to patch the ending result to -

"What market(s) will the project/campaign run in" = Text Input

Patch.PNG

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    If you want to patch the Textbox onto a collection try;

    Collect(colChekedFlorida, {Value: Textbox1.Text })

     

    Change Textbox1

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • oappdev Profile Picture
    901 on at

    Thank you @eka24  for the quick response.  What l 'm i doing wrong?

     

    Patch1.PNG

  • oappdev Profile Picture
    901 on at

    Collections - 

    Patch2.PNG

  • eka24 Profile Picture
    20,925 on at

    Please put the formula on Onselect of a button.

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • oappdev Profile Picture
    901 on at

    Okay. Thanks @eka24 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@oappdev,

    Based on the issue that you mentioned, do you want to patch the two ComboBox selected items to the TextInput?

    Do you collect all the selected items from the two ComboBoxes to the different collections?

    Let me make it easy for you. If you only want to display what the 'FloridaMarket' and the 'TexasMarket' selected items in the 'What market(s) will the project/campaign run in', you just need to integrate all the selected items to the TextInput control.

    Set the TextInput Default property as below:

     

    Concat(DataCardValue6.SelectedItems,Value&" ")&Concat(DataCardValue7.SelectedItems,Value&" ")

     

    Note: DataCardValue6 and DataCardValue7 represents the two ComboBoxes corresponding to the 'FloridaMarket' and the 'TexasMarket'

    If you want to patch the text string into the  'What market(s) will the project/campaign run in' column, set the button's OnSelect property as below:

     

    Patch(
     Ptotex,
     Defaults(Ptotex),
     {
     'What market(s) will the project/campaign run in': Concat(
     tem1,
     Value & " "
     ) & Concat(
     tem2,
     Value & " "
     )
     }
    )

     

    Note: Ptotex is my SP list, tem1 and tem2 are the collections from the two ComboBoxes selected items.

    If you want to display selected items in the TextInput and patch them to the 'What market(s) will the project/campaign run in' column, please set the TextInput and the Button as the above formula.

    Please check the Gif as below.

    0814Gif2.gif

    Best Regards,

    Qi

  • oappdev Profile Picture
    901 on at

    Thank you! @v-qiaqi-msft  That's exactly what i wanted.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard