George_1
Giga Guru

@JayAdmin_16

if (["CheckBox1", "CheckBox2", "CheckBox3"].indexOf(label) !== -1) {
    var rawValue = question.getValue();
    displayValue = (rawValue === 'true') ? 'YES' : (rawValue === 'false') ? 'NO' : 'Unknown';
}

labelValueMap[label] = displayValue;

in your current code, make the variable naming change and try.