Hi,
1. where did you find this script?
There is nothing to select the column in it.
The usual script is this:
Code:
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
var thisQuestion = $('#question{QID}');
// Insert selects
$('.answer-item.answer_cell_X001', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select">\
<option value="">...</option>\
<option value="1">Mère</option>\
<option value="2">Pére</option>\
<option value="3">Soeur</option>\
<option value="4">Frère</option>\
</select>');
$('.answer-item.answer_cell_X002', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select">\
<option value="">...</option>\
<option value="1">masculin</option>\
<option value="2">femelle</option>\
<option value="3">autre chose </option>\
</select>');
// Listeners
$('.inserted-select', thisQuestion).on('change', function(i) {
if($(this).val() != '') {
$(this).closest('.answer-item').find('input:text').val($('option:selected', this).val()).trigger('change');
}
else {
$(this).closest('.answer-item').find('input:text').val('').trigger('change');
}
});
// Returning to page
$('.with-select input:text', thisQuestion).each(function(i) {
var thisCell = $(this).closest('.answer-item');
var inputText = $.trim($(this).val());
$('select.inserted-select', thisCell).val(inputText);
});
// Clean-up styles
$('select.inserted-select', thisQuestion).css({
'max-width': '100%'
});
$('.with-select input:text', thisQuestion).css({
'position': 'absolute',
'left': '-9999em'
});
});
</script>
2. Is there any effect if somebody check your checkbox or not?
3.
second column ("Level of education") to be a multiple choice dropdown menu
This will not work. Keep in mind the structure of the database.
But why? If you read your question it is single punch. If the child acqured a skill at a certain level (e.g. "Primary") the skills are present.
The third is multi punch, yes.
And therefore I recommend to split this question.
You ask three different things.
It is overwhelming in this way.
Here something to read:
Of course you may use a question "array(numbers)" like this (depends on the amount of options in the third column)
Joffm