Announcements
Hi, I would want to prevent user from selecting the item that was submitted previously in the gallery. How do I go about doing that? I know one way is to change the colour of the background once the item is selected. However, that feature only allows one item to have the change in backgroud and not multiple items. Any Idea?
Hi @JuliosJamby ,
You would need to flag the item with something that would indicate it was submitted. As an example, if it changed the Status field to Submitted, the OnSelect would be
If( ThisItem.Status = "Submitted", Notify("You cannot selected submitted items",Error), WhateverItIsNow )
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.
@WarrenBelz I do have a status column but its in another sheet. So how do I go about referencing that? I was thinking of using the displaymode
@JuliosJamby ,
That was only an example - what field do you change when a record is submitted?
@WarrenBelz the initial plan was to only show item due for the month but when I submit an item, the item still show in the gallery even though the month is different. This is because the excel takes awhile to load. I want to make it such that when the user goes back to the gallery after submitting, the submitted item will become disabled or greyed out
You still have to identify a record as submitted with a change of some type in a field - otherwise, how does Power Apps know which record to disable the selection on? What field is this and also what is the Items of the gallery?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 429 Most Valuable Professional
11manish 191 Super User 2026 Season 2
MS.Ragavendar 122 Super User 2026 Season 2