How to filter out responses which have not been selected in the previous question

Hello Guys. I am try to implement a logic such that answer choices which are not selected in the previous question will appear in the next question.

Like for example

Q1. What is your main occupation?

  1. Own farm
  2. Own Business
  3. Farm work for others

Q2. What are your other sources of income?

  1. Own farm
  2. Own Business
  3. Farm work for others

My choices should be less by ONE in Q2 of the choices from Q1. That is, is my main occupation is own farm, Q2 should have Own business and farm work for others as the choices.

Try a filter like
@optioncode!=q1

1 Like

Thanks. It has worked.

I have tried this code @optioncode!=E1 && @optioncode(7)=E1 so that other specify can open even if it has been selected in the previous question (Q1) and it is not working. Kindly help

this discussion continues in the following thread.