Millisecond Forums

Select multiple image answers

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

By Femmie - 3/9/2018

Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 
By Dave - 3/12/2018

Femmie - Saturday, March 10, 2018
Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 

You need to split things into separate <trial>s: One for the 1st selection, /branch to a 2nd <trial> for the 2nd selection, evaluate the responses and give feedback.
By Femmie - 3/12/2018

Dave - Monday, March 12, 2018
Femmie - Saturday, March 10, 2018
Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 

You need to split things into separate <trial>s: One for the 1st selection, /branch to a 2nd <trial> for the 2nd selection, evaluate the responses and give feedback.

Hi Dave,

Thanks for your answer!  I have splitted up the trials and it looks like this at the moment. The only problem left now is that they can select the same answer as they choose in the first part of the trial in the second part as well. But it should not be like this. Is there an option to change this?

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 7500
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item1part2]
</trial>

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>
By Dave - 3/13/2018

Femmie - Tuesday, March 13, 2018
Dave - Monday, March 12, 2018
Femmie - Saturday, March 10, 2018
Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 

You need to split things into separate <trial>s: One for the 1st selection, /branch to a 2nd <trial> for the 2nd selection, evaluate the responses and give feedback.

Hi Dave,

Thanks for your answer!  I have splitted up the trials and it looks like this at the moment. The only problem left now is that they can select the same answer as they choose in the first part of the trial in the second part as well. But it should not be like this. Is there an option to change this?

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 7500
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item1part2]
</trial>

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

Yes, you can exclude the answer from the 1st trial from the 2nd trial's valid responses via a bit of /isvalidresponse logic. Something like this should work:

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ isvalidresponse = [trial.item1part2.response != trial.item1.response]
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

i.e. the response in <trial Item1part2> is only accepted / valid if it is NOT the same as the response in the preceding <trial Item1>.
By Femmie - 3/13/2018

Dave - Tuesday, March 13, 2018
Femmie - Tuesday, March 13, 2018
Dave - Monday, March 12, 2018
Femmie - Saturday, March 10, 2018
Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 

You need to split things into separate <trial>s: One for the 1st selection, /branch to a 2nd <trial> for the 2nd selection, evaluate the responses and give feedback.

Hi Dave,

Thanks for your answer!  I have splitted up the trials and it looks like this at the moment. The only problem left now is that they can select the same answer as they choose in the first part of the trial in the second part as well. But it should not be like this. Is there an option to change this?

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 7500
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item1part2]
</trial>

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

Yes, you can exclude the answer from the 1st trial from the 2nd trial's valid responses via a bit of /isvalidresponse logic. Something like this should work:

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ isvalidresponse = [trial.item1part2.response != trial.item1.response]
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

i.e. the response in <trial Item1part2> is only accepted / valid if it is NOT the same as the response in the preceding <trial Item1>.

Thank you very much, that works perfectly!  I got one more question left.
Ideally i want to give the particpant a reward responsemessage if they give a correct answer on both the first and  the second part of the item. 
So that means that on both trials (item1 and item2part2) they should click on a correct answer and than a textmessage should appear. And if they give only one correct answer or none that it will not appear.
I already tried to put the trials into blocks and add a response message there, but for some reason it doesnt show. 

I hope you can help me with this last part as well. Thanks for your help 



By Dave - 3/14/2018

Femmie - Wednesday, March 14, 2018
Dave - Tuesday, March 13, 2018
Femmie - Tuesday, March 13, 2018
Dave - Monday, March 12, 2018
Femmie - Saturday, March 10, 2018
Hello,

I have created a task in which the participant have to select the right image matching the picture item. 
Every item has two matching correct responses, but with what i programmed now it's goes on to the next trial only after selecting one image.
Is it possible that people can select two images, give feedback on these two (correct or false) and than continue to the next trial?  

This is what i have now: 

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 15000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
</trial>

Can someone help me with this? 

You need to split things into separate <trial>s: One for the 1st selection, /branch to a 2nd <trial> for the 2nd selection, evaluate the responses and give feedback.

Hi Dave,

Thanks for your answer!  I have splitted up the trials and it looks like this at the moment. The only problem left now is that they can select the same answer as they choose in the first part of the trial in the second part as well. But it should not be like this. Is there an option to change this?

<trial Item1>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 7500
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item1part2]
</trial>

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

Yes, you can exclude the answer from the 1st trial from the 2nd trial's valid responses via a bit of /isvalidresponse logic. Something like this should work:

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ isvalidresponse = [trial.item1part2.response != trial.item1.response]
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ correctmessage = true(correcttext, 500)
/ responsemessage = (1b, falsetext,500)
/ responsemessage = (1d, falsetext, 500)
/ branch = [trial.Item2]
</trial>

i.e. the response in <trial Item1part2> is only accepted / valid if it is NOT the same as the response in the preceding <trial Item1>.

Thank you very much, that works perfectly!  I got one more question left.
Ideally i want to give the particpant a reward responsemessage if they give a correct answer on both the first and  the second part of the item. 
So that means that on both trials (item1 and item2part2) they should click on a correct answer and than a textmessage should appear. And if they give only one correct answer or none that it will not appear.
I already tried to put the trials into blocks and add a response message there, but for some reason it doesnt show. 

I hope you can help me with this last part as well. Thanks for your help 




You would do this by conditionally /branch'ing to some sort of feedback <trial> from <trial Item1part2>, i.e.

Something like

<trial Item1part2>
/ stimulusframes = [1= picitem1, 1a, 1b, 1c, 1d; 2= question1]
/ inputdevice = mouse
/ validresponse = (1a, 1b, 1c, 1d)
/ isvalidresponse = [trial.item1part2.response != trial.item1.response]
/ correctresponse = (1a, 1c)
/ timeout = 75000
/ branch = [if (trial.item1.correct && trial.item1part2.correct) trial.item1feedback else trial.item2]
</trial>

with

<trial item1feedback>
/ stimulusframes = [1=feedbacktext]
/ validresponse = 0
/ trialduration = 500
/ recorddata = false
/ branch = [trial.item2]
</trial>

<text feedbacktext>
/ items = ("Congratulations, you got both answers correct.")
</text>