Hi all
I'm trying to build a quiz with 13 questions ordered into 13 groups. Each question is a true/false with immediate feedback given to the participant via a relevance equation in another Text Display question in the same group.
To prevent participants from changing their response once they've learned the correct answer, I added some javascript to the main question, e.g.
Code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#answer217813X42X880').change(function() {
$('#answer217813X42X880').attr('disabled', 'disabled');
$('#answer217813X42X881').attr('disabled', 'disabled');
});
$('#answer217813X42X881').change(function() {
$('#answer217813X42X880').attr('disabled', 'disabled');
$('#answer217813X42X881').attr('disabled', 'disabled');
});
});
</script>
However...this seems to disable any of the responses being registered once I activate the survey? I've attached a screenshot of a subset of questions with responses (showing that only the question without the disabling javascript has registered the answer).
The javascript only disables the radiobuttons after selection...so I don't quite understand why no answer is logged.