Participant matching to use id

Hello
I need your help.

When a participant enters a participant’s ID (for example, four numbers), I want to create an experiment to produce stimuli with the participant’s ID.

How can I manipulate this part in the builder?

I look forward to hearing from you.

Thank you.

Hi,

You can access the participant id using

expInfo['participant']

Thank you very much for your quick reply.

But I don’t know where the sentence is.

Do I have to use the code?

Hi,

it will depend how you are using the participant ID.

If for example you are showing a text stimulus that shows the participant ID, you can use a ‘code as argument’ directly in the text field (i.e. enter $expInfo['participant'] and ‘set every repeat’ in the text field). If you are doing something more complex then you add a code component and use the variable there.

Becca

1 Like

Now I understand!

Thank you for your help!! :smiley:

No problemo! Happy PsychoPying!