<input type="checkbox" onclick="checkFluency()" id="fluency" checked />
function checkFluency() { var checkbox=document.getElementById('fluency'); if(checkbox.checked!=true) { alert("you need to be fluent in English to apply for the job"); } }