cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
markohei
Level: Power Up

Checkbox does not update to unchecked when item removed from collection

I have Screen1 where Gallery1. Gallery1 contains items with checkboxes. When user checks item it will be added to Collection. Screen2 shows Collected items in Gallery2. User may remove items (accidently selected in Screen1 etc.).

Items are perfectly removed from Collection. However, when user returns to Screen1 those previously removed items are still in Checked state?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Checkbox does not update to unchecked when item removed from collection

@markohei 

This is really going to depend on your logic for checking and unchecking as well as how you are updating your supporting collection.

In general, your second gallery should be based off of the first one and you should be changing items from that gallery only.

I've attached a sample app that does this exact action.  Take a look and see the formulas used.  There are really on a couple of small ones.

 

I hope that is helpful and clear.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

1 REPLY 1
Super User
Super User

Re: Checkbox does not update to unchecked when item removed from collection

@markohei 

This is really going to depend on your logic for checking and unchecking as well as how you are updating your supporting collection.

In general, your second gallery should be based off of the first one and you should be changing items from that gallery only.

I've attached a sample app that does this exact action.  Take a look and see the formulas used.  There are really on a couple of small ones.

 

I hope that is helpful and clear.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,280)