Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
  • 1.  Using and setting Checkbox in a Gallery

    Posted Nov 30, 2022 02:00 PM
    I have a Gallery that I have added two checkboxes in two different columns Pass & Fail.  The Pass column uses the Checkbox named chkPass and the Fail column uses the Checkbox named chkFail. When the checkbox in one column is selected, OnCheck event, I want to make the other checkbox false or unchecked.  I have tried using Reset(ThisItem.ChkPass) and Reset(chkPass) in the OnCheck event area for the chkFail checkbox to make sure the chkPass gets set to false and the opposite with when the chkPass checkbox is selected.  I have tried other options in the OnCheck event.  Not certain what I am missing to have one Checkbox affect the other Checkbox when OnCheck or OnUncheck is selected.

    Thank you in advance for your help.

    Kind regards,

    John Heck

  • 2.  RE: Using and setting Checkbox in a Gallery
    Best Answer

    Posted Dec 04, 2022 08:20 PM
    Hi John,

    Try setting the "default" property to a variable.

    you can then set this to your desired default value during the screens "onvisible" event.

    if it is just 2 checkboxes you can set the second checkbox's to !variable

    Let me know how you go or if you want further details,

    Tom Woodhill
    Principal Governance Officer