I have an app with various medical questions that I want to flag and collect a condition everytime the user selects "Yes". Here is an example of my code behind a toggle button: If(ynSmoker.Value,Set(ReviewFlag,true);Collect(ReviewItems,"Smoker"),false)
So my question would be, what if that user selects Yes, but then reverts back to No? I need to Remove that item from the collection. Would it be as simple as "Remove(ReviewItems,"Smoker")? I dont think it would be that easy I am guessing
Thanks,
Brad