if (document.getElementById("choicepoint").checked && document.getElementById("show").value == "") { return alert(''); }