Multiple response of a survey page


Author
Message
Marcel
Marcel
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 9, Visits: 121
Hi,

I was wondering if someone could point me in the right direction.

I would like to construct a series of survey pages, what I want is one of the questions to store an integer i and then require a future survey page to be presented and the data recorded i times. 

I'm also wondering how to include survey pages in a block statement?


Thank you

Marcel

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
<values>
/ myinteger = 0
/ repeatcount = 0
</values>

<block myblock>
/ trials = [1=getinteger]
</block>

<surveypage getinteger>
/ ontrialend = [values.myinteger = textbox.integerquestion.response]
/ questions = [1=integerquestion]
/ showpagenumbers = false
/ branch = [surveypage.repeat_i_times]
</surveypage>

<textbox integerquestion>
/ caption = "Enter an integer between 1 and 5"
/ range = (1,5)
</textbox>

<surveypage repeat_i_times>
/ ontrialend = [values.repeatcount += 1]
/ caption = "This page will be repeated i times"
/ branch = [if (values.repeatcount < values.myinteger) surveypage.repeat_i_times]
</surveypage>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search