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/update selected ...
Power Apps
Unanswered

patch/update selected checkboxes inside gallery

(0) ShareShare
ReportReport
Posted on by 178

Hi All,
I'm quite a newbie to the powerapps world.
I have a check box inside a gallery (this checkboxes are driven from a list)and  i need each checkbox to update a textbox field in a sharepoint list. 

OnCheck : - To update field and set to Yes
Uncheck :- TO Update and set to No

The sharepoint list has got a textbox field that needs to be updated with Yes or No
See screenshot below

Gallery - from a sharepoint list

naijacoder_0-1607492090914.png


Fields to be update in another list
Water - Textbox
Other -Textbox
Trolleys -Textbox


Any ideas if this is possible or i have to create individual checkboxes (which i don't want to do)

Thanks

Categories:
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@naijacoder,

    Based on the issue that you mentioned, do you want to use the Checkbox to update the “Yes”/"NO" to a Text column within your SP list?

    Could you please share a bit more about the scenario:

    1. do you mean that you have one Text column and you want to assign the value like "Water", "Other" and "Trolleys" to it?
    2. or you have 3 Text column named "Water", "Other" and "Trolleys" and you want to update the 3 columns at one time?
    3. how you set the Text property of the Checkbox?

    Please give more details based on the above 3 questions.

    What and how many Text columns you want to update?

    There are many contradictions in your description so that I could not understand you correctly.

     

    Best Regards,

    Qi

     

  • naijacoder Profile Picture
    178 on at

    Thanks for the reply.
    Yes I want to use the Checkbox to update the “Yes”/"NO" to a Text column in another SP list?

    So lets say a user checks the water checkbox this will update a textbox  field on another list called water.
    The same should happen for the other checkboxes inside the gallery as described in my original.post.

    Does this make sense ?
    Please let me know of this scenario is possible wirh powerapps

  • FrostedFlake Profile Picture
    138 on at

    Hi! So you mean if you send (save) the form, you want to update the fields in your sharepoint list?


  • naijacoder Profile Picture
    178 on at

    Yes please which is in a different SP list from the list that is used to build the checkboxes in the gallery.

    Regards

  • naijacoder Profile Picture
    178 on at

    Hi there,
    I have got to the point where i can select all the checkboxes like below and concatenateit to strings  from a collection
    e.g Water;Other ;Trolleys

    Then i tried something like this 
    If(chkEq.Text in  myCollection,"Yes","No"),
    But it keep picking the last item I selected so everything is returning Yes 😞

    I need to insert Yes or No to a Textbox field so for example
    Water(checkbox) to be inserted to Water Cup (Textbox field) 
    'Water Cup': If(chkEq.Text in  myCollection,"Yes","No"),

    Hope this makes sense

     

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

    Hi@naijacoder,

    Do you want to want update the 3 Text column named "Water", "Other" , "Trolleys" based on the Checkbox?

    1. Could you please share more about the SP list that the Gallery is driven from, what is the column type?
    2. Is there any relationship between these 2 SP lists, show me the example data?
    3. Do you want to update a whole record at a time, or just one field at a time?

    I want to explain to you that a Checkbox represents a record, so if you just want to update a field from another SP list, you will always get a record that every item returns the same thing.

    For example, you check the water Checkbox, the whole record in anther SP list containing 'Water', 'Other' and 'Trolleys' column will always get the same result. 

    If you just want to update a field once a Checkbox is checked, I don't think the current data structure could achieve your needs.

    If my understanding is incorrect, please correct me and give more details, especially the relationship between the 2 SP lists.

    Best Regards,

    Qi

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard