How to Randomly select a members/children from household roaster

I am building a XLS form, and would like to include some code for randomly selecting children from a list/roaster. I need to select 3 children under 5 years/ 60. How do I do this.

Hello @Hastings,
Often the search function ofthis forum can provide help, e.g.
https://community.kobotoolbox.org/search?context=topic&context_id=27533&q=random%20select%20member&skip_context=true

1 Like

Welcome to the community, @Hastings! You could do this as outlined in the post discussed previously: