Hide questions and set their answers to default based on previous answer

Hi, is there a way in ODK2 to hide a bunch of questions from the user and set their answers to a default value?

For example we have a select_one question where if the value is the yes option, the 3 following questions should be hidden from the the user but their values should be should be set to ‘yes’.
If the other options are selected, the questions should be shown and answered by the user like usual.

We are currently using ODK2 with ODK Application Designer 2.1.0

Dear @Belzakura

You should be able to achieve this with some ifs (if yes) and then calculating with assign, see:

https://docs.opendatakit.org/odk2/xlsx-converter-reference/?highlight=assign#id11

Best,
Caroline