Can we on check only one check box instead of multicheck boxes in a gallery which is having number of checkboxes. When, on chekc a checkbox, gallery should not allow to on check another check box. I just want to send only one check box data to my table. Can anybody help on this?
Solved! Go to Solution.
Arrow shows my gallery. When i on check one check box the other should be inactive( which means i should not able to on check other check boxes).
Couple of options:
I have done this to my other fileds which are not in gallery. But they wont uncheck on the refreshing of the screen. The last oncheck box will be marked oncheck only. On refresh of the screen or sending data to table, all checkboxes default property should be uncheck.
Hi @mg_n, there are 2 ways to make this happen. You could either use the Reset-function or toggle the Reset property of the check box controls based on an action in your app.
In your case the quickest way probably is to toggle the Reset property. My guess is you have some icon or button you press to save data or navigate away from the screen. If you use a button, you can add <buttonname>.pressed to the reset properties of all check boxes. If you use icons you will have to set a variable to toggle the reset property between true and false.
If you want to use the Reset function you add Reset(<Checboxname>) for each check box to the OnHidden property of the screen that contains the check boxes and in the same property where tou put the formula that sends data to table.
You got my problem exactly. I have tried this soultion before writing here. Checkboxes will reset after the button is pressed but i am not able to oncheck other checkboxes until unless i oncheck and uncheck the previous checkbox which was reset. If i do that, i can oncheck any of my checkboxes.
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
Check out whats happening in Power Apps
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021