Dynamically multiple select and ranking via repeat

Dear all,

Via this thread, you can dynamically get a a multiple select and rank the selected options, but what to do if you don’t have a constraint condition, e.g. for 3 choices?

You could work around using a repeat, but the problem is that in the ranking all the selected multiple choices remain in all degrees of ranking and not being removed if it is selected earlier. Is there a possibility to remove the option once it has been selected in the ranking with a repeat?
Or is there another way to create a ranking if you don’t have a constraint?

Till now, I have created this form:
Trial_errors.xlsx (15.8 KB)

Thanks in advance!

@Webex, it seems like your XLSForm is not downloadable. Would you mind sharing it again?

I have re-uploaded the form again.

I still hope someone can help me!