Hi Guys,
I have an app with a toggle button which allows the user to hide or display another field, it is not working for me.
This is my setup:
Toggle on Check: Set(varAuditVisible, true)
Toggle on UnCheck: Set(varAuditVisible, false)
Audit Field Visibility: varAuditVisible
So far so good, switching the toggle will hide / display the audit card.
Now what I am trying to do is set the default value of the toggle button (when the form is in View mode then varAuditVisible should always = true and for New mode varAuditVisible should always = false), I have set it as follows:
Toggle Default: varAuditVisible
This is where things start going downhill. When I set the toggle to true and reload the screen, varAuditVisible flips between true / false repeatedly, it gets stuck in a loop. The same doesn't happen when I set the toggle to false and reload the screen. I can't work out what is going on.
On the button to create a new request I have added:
Set(varAuditVisible, false)