I have an xlsform or I have a multiple choice question. I want that after having chosen several modalities, the series of questions takes place for each modality, one by one
You can use the selected() function as relevant filter for each group of modality questions. See https://getodk.github.io/xforms-spec/#fn:selected.