I am currently using the below to initiate the default setting of a Toggle control that indicates whether a Member is 'Active' or 'Inactive' based on a query/filter of a List.
If(Gallery.Selected.Mem="Yes",true,false)
The same action in reverse; if the Toggle is moved from its default position there is a Patch that updates the item in the List to the new status.
Inputs:
1. SP List (or Collection) of Member's and their training
2. Columns (Title, Status)
Desire:
1. At AppStart initiate a sequence that Clear Collects Member current Status "Active" or "Inactive", as designated by the position of the 'Toggle'
2. Member current status should be determined by the formula querying the "Compliance Status" (per the ComplianceStatus column on in the List), of each of the following four Titles: Fitness, SCBA, Live Fire, Medical).
3. If any of the 'ComplianceStatus' of the 'Titles' is "Noncompliant" the Members 'Status' shall automatically be triggered to "Inactive" by the formula.
4. The Member's staff shall remain "Inactive" until all four qualifications show "Compliant".
5. Though manual manipulation of the Status Toggle is allowed for various reason, if the Member is "Noncompliant" the Toggle shall not be changeable.
Wheew! Any help?