How to define logic in multiple-choice (checkbox) questions?