Thread Tools  
Pavol Kacmar
Junior Member
 
Join Date: Oct 2013
Pavol Kacmar is on a distinguished road Posts: 2
How to show participantīs input to them?, Posted October 13th, 2016 #1
Hi,
I would like to ask.
In Superlab 5, is there a possibility to save text response of participant (their input) in one trial and show it to them in next trials in a similar manner as their name can be shown to them? Can this be achieved by parameters? If yes, could you please explain to me how specifically can this be done? (as I'm struggling with it for a while).
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 172
Posted October 13th, 2016 #2
First, make sure your experiment allows String Input as a response. Click Experiment > Participant Input > Keyboard-String Input.

Now, create a text parameter. Set feedback for an event to store participant's typed text into the parameter, as shown below:




To display the value of this parameter, open the editor for an event that is presented in a later trial. In the Stimulus tab, click Insert Parameter and select the parameter that you desire to display.





$(Parameter Name) should appear in the text box. This will display the specified parameter value upon running your experiment.

Take a look at the attached experiment for a simple example of storing and displaying participant input.
Attached Files
File Type: sl5 participantInput.sl5 (3.8 KB, 8 views)
Reply With Quote
Pavol Kacmar
Junior Member
 
Join Date: Oct 2013
Pavol Kacmar is on a distinguished road Posts: 2
Posted October 14th, 2016 #3
Dear Arman,
thank you very much.

Best regards, PK
Reply With Quote
dmb
Junior Member
 
Join Date: Apr 2007
dmb is on a distinguished road Posts: 5
Posted October 25th, 2016 #4
Iīd like to do something similar and run into a problem.

In Event 1 we present a sentence where two words are left blank (Blank1 and Blank2). The participantīs task is to fill in each of the blanks, one by one. As a response in event 1, the participant types in a string for Blank1 which is stored as a "text parameter". Then the stimulus in Event 2 includes the original sentence, now with Blank1 replaced by "$(text parameter)" so that the participantīs response fills in the Blank1. As a response in Event 2, the particant types in a string for Blank2. This is where I run into a problem: The participantīs response to Blank2 should then be stored as "parameter text", but that is already in use to fill in Blank1 as part of the stimulus for this event.

Do you have any suggestion for how to get around this problem?

Thanks you,
dmb
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 172
Posted October 25th, 2016 #5
Hello dmb.

In your case, you should try creating two text parameters. The response to the first event will be stored in the first parameter and the response to the second event will be stored in the second parameter. Then, you can present both parameter values within a single event.
Reply With Quote
dmb
Junior Member
 
Join Date: Apr 2007
dmb is on a distinguished road Posts: 5
Posted October 25th, 2016 #6
Hi Arman, Thank you for your fast response.
Yes, that is exactly what Iīm trying to do, but I havenīt figured out how to. Would you any tips?
Reply With Quote
dmb
Junior Member
 
Join Date: Apr 2007
dmb is on a distinguished road Posts: 5
Posted October 25th, 2016 #7
That is to say, I havenīt figured out how to define text parameters so that more than one can be used.
dmb
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 172
Posted October 26th, 2016 #8
All parameters are created through the same process. With SuperLab open, click the Experiment menu and select Parameters....

Then, click the plus next to the drop-down arrow and select Text, like so:




You can now create your second text parameter.

You can find this information - as well as other core lessons - in the SuperLab 5 manual at:

http://cedrus.com/superlab/manual/
Reply With Quote
dmb
Junior Member
 
Join Date: Apr 2007
dmb is on a distinguished road Posts: 5
Posted October 27th, 2016 #9
Thank you. My apologies, I hadīt seen that the new version of the manual was available. Now Iīve gone through it. Itīs a nice update.

One last question:
Following your "participant input" example, I set up a mini experiment with the following events where A - D are test parameters:
- Elicit and store input A
- Display input A; elicit and store input B
- Display input AB; elicit and store input C
- Display input ABC; elicit and store input D
- Display input ABCD
I would have liked this series of events in a single trial, but that doesīt seem to work in my mini-experiment or in the "participant input" putting all the events in a single trial.

Do you know what might be getting in the way of it working or how it might be done?

Thank you again for your helpful assistance!
Reply With Quote
Arman
Support
 
Join Date: Jun 2016
Arman is on a distinguished road Posts: 172
Posted October 27th, 2016 #10
SuperLab stores participant's typed text between trials. This explains why your experiment doesn't work as expected.

However, we can still create the design that you speak of if we take advantage of Looping and Rules.

I have created and attached such a design to this post. Go ahead and take a look at it, especially the notes that I have written within.

Please let me know if you have any questions.
Attached Files
File Type: sl5 Parameters.sl5 (5.3 KB, 1 views)
Reply With Quote
Thread Tools
Posting Rules
Forum Jump:
Đ Copyright Cedrus Corporation, 1991-2014.
All times are GMT -7. The time now is 05:14 PM.