Hello - iam new here but eager to learn !
Iam struggling to get to grips with a simple problem - how can i get questions presented for n times where n is a participant defined variable ?
So e.g., Q1 How many times have you done N ?
n=5
let n=1
Q2 please answer the Qs about N
Let n=1+1
does n=5
No then repeat
Yes then end
in Q2 N would increment from 1 to N
please help !
all the best
Carl
Page 1 / 1
@seniorc,
Put "Q1 How many times have you done N ?" in a block before the loop & merge. Set up the loop & merge to have the maximum N value, then loop based off the question Q1.
Put "Q1 How many times have you done N ?" in a block before the loop & merge. Set up the loop & merge to have the maximum N value, then loop based off the question Q1.
Many thanks for your reply but if N was user defined - how would this be set ?
@seniorc - as @TomG mentioned, you will have to set maximum N value in the "Max Loops" option. You can limit/validate the value of N user is putting in Q1.
Ultimately you will have to let the tool know that these much loops are excepted, so that tool creates the data columns as per your max limit.
Ultimately you will have to let the tool know that these much loops are excepted, so that tool creates the data columns as per your max limit.
many thanks both - sorted now
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.