How to use Ternary Operator in Qualtrics | XM Community
Skip to main content

Can we use Ternary operator in Qualtrics

Like you would any other place.
There's no special format.


ahmedA , can you please share one example how to use it in Qualtrics. I have Q1 with two options 'Yes'/'No'. in Q2 I need to show different question text based on Q1 selection i.e. there is different question text if Q1 = 'Yes' and there will be another question text if Q1 = 'No'.


Please read the support pages on branch logic, skip logic and display logic. From what you've described the ternary operator has no role to play here.


Leave a Reply