I am trying to set a fields viable depending on if a toggle is true,
If the first part its if toggle 1 is true to set value P to true
on second toggle it is to set only C to true
but if both toggles are true to set both C and P as true
The first two parts work, its only when both are true is it not showing both P and C as true
Here is my code this is done on the select of a button.
If(Toggle2.Value, true; Set(c, false) & Set(p, true) & Set(i, false), If(Toggle1.Value, true; Set(c, true) & Set(p, false) & Set(i, false), If(Toggle1.Value, true & Toggle2.Value, true, Set(c, true) & Set(p, true) & Set(i, false))))