Restricting choices in a repeat group

Welcome back to the community, @minuri_perera! You could do it as outlined in the post discussed previously: