web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard