Answer constraints in multiple questions

Dear Community,

I have a question with these answer choices:

  1. Apple
  2. Mango
  3. Orange
  4. Guava
  5. Pineapple
  6. Avocado
  7. Soursop

I want to create a constraint as follows: if Apple (1) is answered then Pineapple (5) must not be answered.

Can anyone help how the syntax is in XLS Form. Thank you.

Hello,
Just give the search function of this forum a try? https://community.kobotoolbox.org/search?context=topic&context_id=20771&q=constraint%20in%20multiple&skip_context=true

1 Like

@akoh, this post as advised by @wroos should help you solve your issue:

thank you @Kal_Lam and @Wroos… It works!

1 Like