Recording participant's email address
I am designing an online experiment and I need to record the participants email address in order to include them in a draw for winning a prize.
I tried to modify an already existing loop with an inline java script that was designed to record participant’s student ID :
I changed the script so in the ' if statement' the 'vars.response' matrix included other keys (letters, @, dot, etc.), but it doesn’t seem to work and it only records numbers in the student_number variable (not sure but probably because strings can’t be stored in a variable)
Anyway I was wondering if there was a way for me to be able to record the participants email address (they will need to see what they are typing and also be able to erase mistakes) ?