﻿// adzanimal
function Confirmy1() {

//function checks that the form has been filled in fully

var namme = document.input_db.Name_1.value;
var email = document.input_db.email.value;
var post_code = document.input_db.post_code.value;
var decription_1 = document.input_db.Description_1.value;
var place_mark = document.input_db.place_mark.value;
var no_Postcode = document.input_db.noPostcode.value;
var carbon = document.input_db.carbon.value;

	//Name_1 email post_code Description_1 place_mark
	//this could be tied into submit button instead
	// and = &&  or = ||
	

if (namme.length > 1) {


      if (post_code.length > 1) {


            if (email.length > 1) {


                  if (no_Postcode.length > 1) {
                  

					 
					 } else { 
						alert('please enter your post code')
						return false;
						}
						
					 } else { 
						alert('please enter email')
						return false;
					 }
					 
				 	} else { 
						alert('please enter your post code')
						return false;
					 }
					 
					} else { 
 	 					alert('please enter name')
						return false;
				}
		}
//end of check function
// end adzanimal
