Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[closed] Coding correct responses with a form

edited February 2016 in OpenSesame

Hi there,

I have a form set up with four mouse button responses, which are being logged as 'a', 'b', 'c' and 'd' in the data file with yes/no as responses. I am using this for a cognitive task in which each question has a correct response. I want to to add some script so if 'a' codes as 'yes', it adds a '1' into a new variable, and 'b' as 'yes' would add a 2 into the same variable etc. Ideally I want an additional variable column with the correct answer for each question to be able to automatically code if the answer is correct for each participant.

Apologies if this has been asked before; I had a search around and couldn't find an answer.

Many thanks,
Alex

This discussion has been closed.