Conditional

137
3
Jump to solution
06-17-2021 08:32 AM
ElizabethWheeler
New Contributor III

Could I create a question that is only visible if a preceding response's string contains 'abc'. 

More specifically the preceding response is a string of one or more agencies and the conditional questions would only be visible if one of those agencies were listed. The 'preceding response' is pulled from a csv. I am using pulldata for that question so I could not make the type a select_multiple nor is it appropriate for a select_one type. 

0 Kudos
1 Solution

Accepted Solutions
DougBrowning
MVP Frequent Contributor

Have you tried

contains(string, substring)   Returns true if the given string contains the substring.   contains(${question_one}, 'red')

View solution in original post

3 Replies
DougBrowning
MVP Frequent Contributor

Have you tried

contains(string, substring)   Returns true if the given string contains the substring.   contains(${question_one}, 'red')

View solution in original post

ElizabethWheeler
New Contributor III

That's the one. Thanks Doug

DougBrowning
MVP Frequent Contributor
0 Kudos