Hi,
I'm building an incident report form in a canvas app that has a question with a multi-select drop-down menu. If the user selects certain answers, additional questions will appear. I have the Visible properties set on each of these additional questions so they only appear if the particular drop-down answer they relate to is selected. It works great so long as the user only selects one answer from the drop-down.
Visible: DataCardValue5.Selected.Value = "Vehicle Damage/Crash"
When a field is relevant for a variety of answers, I have its visible property set with this formula:
If(DataCardValue5.Selected.Value = "Bloodborne Pathogen Exposure", true, DataCardValue5.Selected.Value = "Fatality", true, DataCardValue5.Selected.Value = "Overnight Hospitalization", true, DataCardValue5.Selected.Value = "Received Medical Treatment Beyond First Aid", true, false)
What I can't figure out is when the user selects multiple answers from the drop-down, how to make it so all relevant fields still show up. Logically, it makes sense that the Visible property would have an and/or function, but I'm not sure how to write that.
So, for example, if the user selects both "Bloodborne Pathogen Exposure" and "Chemical/Environmental Exposure" no additional fields come up. If the user selects "Bloodborne Pathogen Exposure" and "Fatality", the additional field both have in common shows up, but not the fields that are uniquely relevant to each answer.
Any ideas how to write a formula that will have fields pop up when they are relevant to at least one of the drop-down answers?
Thanks!!