send = 0;
function fieldCheck() {
	send = 0;
	Msg = '';
	Name = '';
	Phone = '';
	if (document.forms['contactForm'].msg.value == '') {
		Msg = 'Meddelande \n';
		send = send +1;
	}
	if (document.forms['contactForm'].name.value == '') {
		Name = 'Namn \n';
		send = send +1;
	}
	if (document.forms['contactForm'].phone.value == '') {
		Phone = 'Telefonnummer \n';
		send = send +1;
	}
}

function validateForm() {
	fieldCheck();
	if (send > 0) {
		alert('Du har glömt att fylla i: \n\n' + Msg + Name + Phone + '\n\n Fyll i alla fält och försök igen.');
		return false;
	} else {
		return true;
	}
}

