Advanced logic between questions
How it works
Enable Advanced Statistical Mode in the survey settings, then reuse earlier answers in later blocks to control the visibility of whole questions, the availability of individual options and conditional paths. All logic is defined on the destination block, using the code of the previous question.Set the Question code explicitly in the block settings (for example
D8). If it is left at its default value, the expression cannot be evaluated correctly.Option inclusion
Question D8 (multiple choice) asks which shoe brand the respondent likes most, with the options Nike, Adidas, Autry and Hogan; because it is multiple choice, the answers are treated as a set of values. In question D9, each option can define its own visibility condition based on D8 —D8 contains "Nike" on the Nike option, D8 contains "Adidas" on Adidas, and so on — so each option appears only if the matching brand was selected in D8.
Exclusion logic
You can also hide an option when a specific answer is present. For example,!(d8 contains "Nike") shows the Nike option only if it was not selected in D8.
Single choice comparison
If D8 were a single choice question, the comparison would be direct:D8 === "Nike".
