Millisecond Forums

How to show a previous survey response to the participant?

https://forums.millisecond.com/Topic27507.aspx

By Tylhi - 7/24/2019

Hi,

I'm new on the forum, and I'm sorry if the anwser at my question already exist but i didn't found it.

If i simplify my study, I have a survey with the same question before and after a task (measurments at T0 and T2). I would like to show to the participant at T2 the answer he gave on the same scale at T0, in the "caption" of the second one, before that he respond to it (like that the participants can decide if he wants to answer similarly or differently than previously).

The point is that I do not succeed at creating a code in Inquisit that will show on the survey corresponding to the T2 (in my script "slider EVA2") the answer he gave at T0 (in my script "slider EVA1")

Does anybody have a solution or could help me with that ? 

Thank you very much :)


<slider EVA1>
/ caption = "Evaluez votre niveau de vitalité, d'énergie sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie","100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<slider EVA2>
/ caption = "Lorsque nous vous avons posé cette question avant le début de la tâche, vous aviez évalué votre niveau de vitalité,
d'énergie à <% response_EVA1 %>.
~nMaintenant veillez évaluez votre niveau de vitalité, d'énergie actuel sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie", "100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<surveypage EVA1>

/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA1]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>
<surveypage EVA2>
/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA2]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>

<values>
/EVA1 = 0
</values>

I also try with:
<values>
/EVA1 = "unknow"
</values>

I think there is somthing to do with an expression but i don't know what...

That you in advance for your anwser,
Best
Margaux
By Dave - 7/24/2019

Tylhi - 7/25/2019
Hi,

I'm new on the forum, and I'm sorry if the anwser at my question already exist but i didn't found it.

If i simplify my study, I have a survey with the same question before and after a task (measurments at T0 and T2). I would like to show to the participant at T2 the answer he gave on the same scale at T0, in the "caption" of the second one, before that he respond to it (like that the participants can decide if he wants to answer similarly or differently than previously).

The point is that I do not succeed at creating a code in Inquisit that will show on the survey corresponding to the T2 (in my script "slider EVA2") the answer he gave at T0 (in my script "slider EVA1")

Does anybody have a solution or could help me with that ? 

Thank you very much :)


<slider EVA1>
/ caption = "Evaluez votre niveau de vitalité, d'énergie sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie","100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<slider EVA2>
/ caption = "Lorsque nous vous avons posé cette question avant le début de la tâche, vous aviez évalué votre niveau de vitalité,
d'énergie à <% response_EVA1 %>.
~nMaintenant veillez évaluez votre niveau de vitalité, d'énergie actuel sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie", "100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<surveypage EVA1>

/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA1]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>
<surveypage EVA2>
/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA2]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>

<values>
/EVA1 = 0
</values>

I also try with:
<values>
/EVA1 = "unknow"
</values>

I think there is somthing to do with an expression but i don't know what...

That you in advance for your anwser,
Best
Margaux

You'll want to pipe in the slider.EVA1.response property:

<block example>
/ trials = [1=EVA1; 2=EVA2]
</block>

<slider EVA1>
/ caption = "Evaluez votre niveau de vitalité, d'énergie sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie","100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<slider EVA2>
/ caption = "Lorsque nous vous avons posé cette question avant le début de la tâche, vous aviez évalué votre niveau de vitalité,
d'énergie à <%slider.EVA1.response%>.
~nMaintenant veillez évaluez votre niveau de vitalité, d'énergie actuel sur cette échelle allant de 0 à 100."
/ labels = ("0~nAucune vitalité, aucune énergie", "100~nPlein de vitalité, plein d'énergie")
/ range = (0,100)
/ slidersize = (70%,5%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ orientation = horizontal
/ required = true
</slider>

<surveypage EVA1>
/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA1]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>

<surveypage EVA2>
/ caption = ""
/ fontstyle = ("Arial", 25, true, false, false, false, 5, 1)
/ questions = [1=EVA2]
/ finishlabel = "Page suivante"
/showpagenumbers = false
/ nextlabel = "Suivant"
/backlabel = " "
</surveypage>

By Tylhi - 7/24/2019

Thank you so much! It's works perfectly!

Best, 
Margaux