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 / Multi-Select Checkbox ...
Power Apps
Answered

Multi-Select Checkbox Not clearing in PowerApps Forms

(0) ShareShare
ReportReport
Posted on by 31

Hi Everyone, 

I have a PowerApps Canvas app that I've made and I've created a custom Multi-Select checkbox to achieve a functionality I wanted in the app. I've been facing a weird problem with the form I've made. When I've created a new form and selected a few check boxes as seen in the image, once Ive saved my answerers to my SharePoint list, and I go to make another new form the selected checkboxes from the previous form remain on the screen. I've tried to fix this by Clearing the collection in the Onselect property of the new form button I have but It doesn't seem to fix my Issue. 

Could this issue stem from the checkboxes themselves? As you can see in the image that all my collections have been cleared but the checkboxes remain checked. How can I fix this please Checkbos not clearing.png

For my checkboxes here are all the formulas I have active in properties for my checkbox's:

 

Default: If(*Authorisation_to_work_permit*.Mode <> FormMode.New,Self.Text in Concat(*Permits_DataTable*.Selected.'What Hazards could I face?',Value,","))

Oncheck: Collect(colHazards,ThisItem)

OnUncheck:Remove(colHazards,ThisItem)

Text:ThisItem.Value

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @UniDeen22 ,

     

    You can add a variable and set it to true and put it on Reset of check box to reset all check box when collection is cleared.

    OnSelect of new form button.

    Clear(colHazards);
    Set(var,true)
    

    Reset of check box.

    var

    OnVisible of screen.

    Set(var,false)

     

     

    Best regards,

    Rimmon

  • UniDeen22 Profile Picture
    31 on at
    Hi Rimmon, Thank you, I tried this and it worked perfectly

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard