Insert previous question into begin_repeat question dynamically

Hi, is there a way to look up the answer of first household member in begin-repeat, then I want to check on the other begin-repeat if the answer of first household member is Head then automatically the answer in first iteration of this other begin-repeat is 1?

begin-repeat
Q1a: What is the position of (NAME) in this household?
A. Head
B. Son
Q1b: What is the position of (NAME) in this household?
end-repeat

begin-repeat
Q2a: In which nuclear family does (NAME) belong? 1 -THIS ONE IS AUTOMATIC INSERTED
Q2b: In which nuclear family does (NAME) belong? {User input}

Hi @diondion
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 real picture as your avatar because it helps build community!

I have a sample form that should help you solve your problem:
choice_name_and_indexed-repeat.xls (7.5 KB)

2 Likes

Hi @Grzesiek2010
Thank you so much for this, now I can move on to another questions on my survey. I already added my profile picture and earlier I've done introduce myself on the forum thread :slight_smile:

1 Like