function verifyPublishings() {
	var themessage = "Please complete the following fields: \n\n";

	switch (document.mainform.page.value) {
		case '2':
			if (document.mainform.MC_name.value=='')
				themessage += " - Name\n";
			if (document.mainform.address.value=='')
				themessage += " - Address\n";
			if (document.mainform.homephone.value=='' && document.mainform.workphone.value=='' && document.mainform.mobphone.value=='')
				themessage += " - A Phone Number\n";
			if (document.mainform.email.value=='')
				themessage += " - E-mail\n";
			if (document.mainform.nationality.value=='')
				themessage += " - Nationality\n";
			if (!document.mainform.gender[0].checked && !document.mainform.gender[1].checked)
				themessage += " - Gender\n";
			if (document.mainform.dob.value=='')
				themessage += " - Date of Birth\n";
			if (document.mainform.passport.value=='')
				themessage += " - Passport Number\n";
			if (document.mainform.emergency_name.value=='')
				themessage += " - Emergency Contact Name\n";
			if (document.mainform.emergency_phone.value=='')
				themessage += " - Emergency Contact Phone\n";
			if (document.mainform.occupation.value=='')
				themessage += " - Occupation\n";
			if (!document.mainform.smoker[0].checked && !document.mainform.smoker[1].checked)
				themessage += " - Smoker\n";
			if (document.mainform.textfield11.value=='')
				themessage += " - Special Dietary Needs\n";
			if (document.mainform.deliverydiffers.checked == true) {
				if (document.mainform.deliveryaddress.value == '')
					themessage += " - Delivery Address\n";
				break;
			}
			if (document.mainform.couple[0].checked || document.mainform.couple[1].checked) {
				if (document.mainform.pname.value=='')
					themessage += " - Passenger Name\n";
				if (document.mainform.paddress.value=='')
					themessage += " - Passenger Address\n";
				if (document.mainform.phomephone.value=='' && document.mainform.pworkphone.value=='' && document.mainform.pmobphone.value=='')
					themessage += " - A Passenger Phone Number\n";
				if (document.mainform.pemail.value=='')
					themessage += " - Passenger E-mail\n";
				if (document.mainform.pnationality.value=='')
					themessage += " - Passenger Nationality\n";
				if (!document.mainform.pgender[0].checked && !document.mainform.pgender[1].checked)
					themessage += " - Passenger Gender\n";
				if (document.mainform.pdob.value=='')
					themessage += " - Passenger Date of Birth\n";
				if (document.mainform.ppassport.value=='')
					themessage += " - Passenger Passport Number\n";
				if (document.mainform.pemergency_name.value=='')
					themessage += " - Passenger Emergency Contact Name\n";
				if (document.mainform.pemergency_phone.value=='')
					themessage += " - Passenger Emergency Contact Phone\n";
				if (document.mainform.poccupation.value=='')
					themessage += " - Passenger Occupation\n";
				if (!document.mainform.psmoker[0].checked && !document.mainform.psmoker[1].checked)
					themessage += " - Passenger Smoker\n";
				if (document.mainform.ptextfield11.value=='')
					themessage += " - Passenger Special Dietary Needs\n";
				break;
			}
			break;
		case '3':
			if (document.mainform.model_make.value=='')
				themessage += " - Motorcycle Model\n";
			if (document.mainform.registration.value=='')
				themessage += " - Registration\n";
			if (document.mainform.years.value=='')
				themessage += " - Number of years held licence\n";
			if (document.mainform.avg_miles.value=='')
				themessage += " - Average miles per annum\n";
			if (!document.mainform.abroad[0].checked && !document.mainform.abroad[1].checked)
				themessage += " - Ridden Abroad\n";
			if (document.mainform.abroad[0].checked && document.mainform.abroad_where.value=='')
				themessage += " - Where Abroad\n";
			if (!document.mainform.accommodation[0].checked && !document.mainform.accommodation[1].checked)
				themessage += " - Type of room\n";
			break;
		case '4':
			if (!document.mainform.tshirtsize[0].checked && !document.mainform.tshirtsize[1].checked && !document.mainform.tshirtsize[2].checked && !document.mainform.tshirtsize[3].checked && !document.mainform.tshirtsize[4].checked && !document.mainform.tshirtsize[5].checked)
				themessage += " - T-shirt Size\n";
			if (!document.mainform.agreement.checked)
				themessage += " - Declaration\n";
	}

	if (themessage == 'Please complete the following fields: \n\n') {
		document.mainform.submit();
	} else {
		alert(themessage);
	}
}
