Changing text inside a button when clicked
OK so I am trying to create an Operation Span task.
What I want to have is a grid with buttons and next to each button the name of a letter (please see the pic).
Participants have to press these buttons in a correct oder and a number (the position of letter in the flux of letters just presented) appear on the button.
So far, and I do not know if it is the good strategy, I just create a loop presenting forms. Every time the participant click on a button the script update and refresh the values in the buttons with a counter.
Issue I have right now:
- what I did might be too complicated and I wonder if something easier might not be possible;
- when clicked, numbers appear on the button but on top of the previously presented one and I do not know how to refresh my form without pausing the script and waiting for a refresh.
OK I hope my explanation is clear.
Thank you for any help!