Hi, the variable IC02 is this a selection question specified like this:
IC02 Consent
1 = I agree to participate / Estoy de acuerdo
2 = I do not want to participate / No estoy de acuerdo
-9 = Not answered
My main concern is that if I use the code:
$consentcases = statistic('count', 'IC02', 1);
if ($consentcases > 201) {
text('quotafull');
buttonHide();
pageStop();
}
How do I know that it works? If I try to test it by changing the number to 0 it does not display the message? Is there a way to test this code? We are paying participants, so we need to make sure we stop after 200 participants