Create an interview summary of responses
With Askia 5.5.2, you have the ability to display at the end of an interview (or send by email) to a respondent a summary of his responses.
In order to achieve this, you need two new features only available with 5.5.2:
The first thing to do is to tag the questions you want to display into the summary of responses:
Then, on the last screen of your survey, you can add this into a label:
Here are your answers:
{%
Dim arrQuestions = Survey.Questions.FilterByTag("Printable")
Dim i
For i = 1 To arrQuestions.Count
If arrQuestions[i].HasNoData = False Then
Dim str
str = arrQuestions[i].ShortCaption
If arrQuestions[i].ParentLoop.Id <> DK then
str = str + "->" + arrQuestions[i].ParentLoop.CurrentIteration
Endif
str = str + "->"
if arrQuestions[i].Type ="single" or arrQuestions[i].Type ="multiple" Then
str = str + arrQuestions[i].Answers.Caption
Else
str = str+ arrQuestions[i].Value
EndIf
%}
{%= str %} <br/>
{%
EndIf
Next
%}