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 / Geoup of checkboxes an...
Power Apps
Answered

Geoup of checkboxes and select All

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there, 

I have a selection of checkboxes and a main one called 'Select All' 

I want to be able to select them all with 'Select All'. 

I feel i can do that by adding the value of the Select All (value) to the default on the checkboxes - that works fine. 

I want to be able to also, if the user ticks all the boxes the Select All checkbox is also lit. 

 

I have done the 2nd part by : 

 

If (chcLicencePlateCEC.Value = true &&
chcWindowsWindscreenCEC.Value = true &&
chcWiperBladesAndWashersCEC.Value = true &&
chcAdvertisingSignageCEC.Value = true &&
chcTyresWheelsCEC.Value = true &&
chcMirrorsCEC.Value = true &&
chcRegistrationPlateCEC.Value = true &&
chcFrontLightsAndIndicatorsCEC.Value = true &&
chcRearLightsAndIndicatorsCEC.Value = true &&
chcUndersideCEC.Value = true &&
chcOtherCEC.Value = true,true)

 

In other words if all the Values of the checkboxes are true then add true to the Default on the Select All checkbox

I just cannot seem to get both Select All (with the tick box - and all of the chkboxs highlight) and if i select on all the checkboxes the 'select all' checkbox hightlights. 

 

Any idea / any test info would be really welcome. 

 

 

Categories:
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    Ok check it out

    I have 6 check boxes

    Checkbox2 is the check all

    then 2_1-5 are the individuals

    Checkbox2 default is 

    If(
    And(
    Checkbox2_1.Value=true,
    Checkbox2_2.Value=true,
    Checkbox2_3.Value=true,
    Checkbox2_4.Value=true,
    Checkbox2_5.Value=true),
    true,
    false)

    Checkbox 2 OnUncheck is

    Set(checkallVar,false)

    Checkbox2 OnCheck is

    Set(checkallVar,true)

     

    Both the oncheck and onuncheck of all 5 indivial check boxes will be 

    Reset(Checkbox2)

    and their default will be 

    If(checkallVar=true,true,false)

     

    with this checking checkall box wil check all, or uncheck all if unchecked, and when all are checked this box appears checked, while unchecking any box unchecks it. checking all boxes individually willl also check this box

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard