How to skip to the next section after 4 consecutive negative answers

Hi @Agnese_I
Welcome to the ODK forum. We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a picture as your avatar because it helps build community!

There is no easy way to achieve what you described. Skipping questions is possible by making them relevant or not. If you want to skip multiple questions the easiest way would be to put them into one group and the use relevant column as well (see https://xlsform.org/en/#skipping).

In you case you would need to add multiple groups like that to support all possible cases where after four no answers the rest of questions is skipped.

You can try but even if you are able to do that it's going to make your form very complex with multiple nested groups.