Hi guys,
I have an app where we send either an SMS or Email (or both) to a list of clients. I want the ability to send one or the other (or both) based on a checkbox. In my flow I set a variable for each and on the switch I set the condition to true or false but the switch would not allow me to use the term "true".
I then came across this article https://powerusers.microsoft.com/t5/Building-Power-Apps/Change-a-Text-Input-value-after-Save-on-Chec...
So this works in principal but when I try to submit, the flow doesn't run unless both options are "checked"
WORKS:
DOESNT WORK:
SMS = Checkbox3
Email = Checkbox6
SMS
Oncheck property of the checkbox: Set(var,true);Set(varCheck,"Checked");Reset(TextInput74)
OnUncheck property of the checkbox: Set(var,true);Set(varCheck,Blank());Reset(TextInput74)
Oncheck property of the checkbox: Set(var,true);Set(varCheck2,"Checked");Reset(TextInput75)
OnUncheck property of the checkbox: Set(var,true);Set(varCheck2,Blank());Reset(TextInput75)
The default property is set to:
TextInput74: If(var,varCheck)
TextInput75: If(var,varCheck2)
Any suggestions how I would "pass" a default value if (for instance) email was unchecked? Like TextInput75 had a default value of "unchecked" and when Checkbox6 is selected, the value of TextInput75 changed to "Checked" - or is there a better way to do this?
Thanks,
David