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.
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.
Check out new user group experience and if you are a leader please create your group
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Did you miss the call? Check out the recording here!