Hi there,
I have about a dozen checkboxes. and i have select all checkbox. I am having a lot of trouble getting the select all to work.
I have set a context variable in the OnCheck and OnUnCheck, which sets Allchecked : true or false accordingly.
On UnCheck : UpdateContext({AllChecked: false}) and true for OnCheck
I also have a save button on the screen that patches the results of the checkboxes into a collection - so a user can save their progress.
I need the checkboxes to be
1. FALSE when the collection is empty.
2. i need to checkbox to be able to toggle on the select All context variable.
3. I also need the checkbox to show the correct result from the previous save.
I have been banging my heads it feels like days and i am at my wits end - i really need help with this, please!
I am using this as the default on my checkboxes
First(InspectionItemTPHCollection).'PHV Licence' = 'Yes or No'.Yes || AllChecked
And it is kinda of working but when you untick the select all - i want it to forget the result from the collection and set it to false. Although the collection still has the correct outcome, until the next save.
Your help on this would be so so so handy.
thanks
Solved! Go to Solution.
Hi @jdhough55,
Here is a similar thread that has been resolved, I will mark here to close this case.
Thanks for your cooperation.
Does anyone have a clue on this ? I am trying to use a record and a variable to get the correct result on the default on a checkbox. I cannot find any help anywhere and i am desperate in need of some help.
Hi @jdhough55,
Here is a similar thread that has been resolved, I will mark here to close this case.
Thanks for your cooperation.
User | Count |
---|---|
246 | |
103 | |
82 | |
49 | |
42 |