\n'); } function CheckEmpty(vStr, Description) { if (vStr == "") { alert(Description); return false; } return true; } function CheckThisForm(TheForm) { if (CheckEmpty(TheForm.firstname.value, "Please enter your First Name.") == false) return false; if(CheckEmpty(TheForm.surname.value, "Please enter your Surname.") == false) return false; if(CheckEmpty(TheForm.phone.value, "Please enter a Phone Number to contact you on.") == false) return false; if(CheckEmpty(TheForm.email.value, "Please enter your Email address.") == false) return false; if(CheckEmpty(TheForm.keepuptodate.value, "You must agree to the bookings and cancellation policy at Claire Francoise Salons PTY LTD.") == false) return false; return true; } //-->