// JavaScript Document function pruefen () { if(document.missionsreport.first_name.value == "") { alert("Please give your first name."); document.missionsreport.first_name.focus(); return false; } if(document.missionsreport.last_name.value == "") { alert("Please give your Surname."); document.missionsreport.last_name.focus(); return false; } if(document.missionsreport.email.value.indexOf('@') == -1 || document.missionsreport.email.value.indexOf('.') == -1) { alert("Please give the correct Email. ;-)"); document.missionsreport.email.focus(); return false; } if(document.missionsreport.land.value == "") { alert("Please select your country."); document.missionsreport.land.focus(); return false; } }