Dear Sosci team
I want to feedback my participants' IAT score visually, using visual presentation. The example code that is used first calculates a mean and then does a z-transformation. I don't need to do this since my IAT scores are calculated automatically and I do not need them to be z-transformed and neither do they need to be positive. Therefore, I changed the PHP code to this:
// Determine the outcome value
//IA01R02 is the variable of the IAT score
$value = value('IA01R02');
//IA04 is the ID of the question including the HTML code
show('IA04', array(
replace('%title%', 'implicit gender negotiation bias);
replace('%value%', (string)round($value * 100));
));
I get an error message saying "For the placeholder %title% neither an input field by prepare_input() has been created nor any content by using replace()." and the same messae for %value%
Also, I get an error for the last line of code which I do not understand because it seems to me that my PHP code is complete.
Maybe you can help me out here?