Is a "contains" visibility condition possible?

Sara Fludd asked on November 21, 2018 13:45

I am creating a nomination form and each of 5 awards has a different set of questions that should only be visible when the user selects that particular award. Easy. But - the stakeholders want users to be able to submit one recipient for multiple awards, i.e. volunteer, staff, neighbor - so they could select volunteer and neighbor and those subsets of questions would appear. I'm stuck because instead of NomType2.Value=="Neighbor" I need something like Contains "Neighbor" - so Neighbor results would show when selected with any of the other 4 options. Users can select up to all 5 options. Thanks in advance!

Correct Answer

Jan Hermann answered on November 21, 2018 14:06

Yes, you can use exactly what you typed:

NomType2.Value.Contains("Neighbor")

0 votesVote for this answer Unmark Correct answer

Recent Answers


Sara Fludd answered on November 21, 2018 14:38

Thanks Jan! It works like a charm.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.