I am currently building an Investment task in which a participant selects three stocks at a time per trial. In each subsequent trial I would like the text value of stocks they had selected to appear above the appropriate stock (see image below for visual representation of where the previous trial information for each stock would go).
Using the online tutorial I have added the multiple clicks. But now don’t know how to add the relevant code so that the text in the textbox of the stock in previous trial is shown in carried over to the next trial and displayed above the appropriate stock.
I thought about adding a string variable to call for a saved data column in a textbox. But I do not how to save the text from the stock textbox that has ben clicked into a data column, I have only worked out how to save that it has been clicked.
Experiment .zip folder
Neal Investment Task v1.0.zip (1.6 MB)
Experiment .psyexp file
neal_investment_taskv1.0.psyexp (410.0 KB)
I am unsure on how too approach this, if any of this is unclear please say and I will provide more info. Any help much appreciated.