// JavaScript Document pour le contrôle des champs de la table client_alert
  function valider_form_lacroix_recrutement(theForm) 
  {  
  
		if (theForm.pChamp1.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp1.focus();
			return false;
		}
		if (theForm.pChamp2.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp2.focus();
			return false;
		}
		if (theForm.pChamp3.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp3.focus();
			return false;
		}
		if (theForm.pChamp4.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp4.focus();
			return false;
		}
		if ( !isNumeric(theForm.pChamp4.value) )
		{
			alert("Format numérique invalide !");
			theForm.pChamp4.focus();
			return false;
		}
		if (theForm.pChamp5.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp5.focus();
			return false;
		}
		if (theForm.pChamp6.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp6.focus();
			return false;
		}
		if ( !isNumeric(theForm.pChamp6.value) )
		{
			alert("Format numérique invalide !");
			theForm.pChamp6.focus();
			return false;
		}
		
		if (theForm.pChamp7.value.length == 0)
		{
			alert("Les champs marqué * sont obligatoires !");
			theForm.pChamp7.focus();
			return false;
		}
		if (!isValidMail(theForm.pChamp7.value))
		{
			alert("Format mail invalide !");
			theForm.pChamp7.focus();
			return false;
		}
		if ( ! isValidDate(theForm.pChamp9.value) )
		{
			alert("Format date invalide !\n\nExemple de date : 01/02/2003\nLes jours et les mois sont sur deux chiffres.");
			theForm.pChamp9.focus();
			return false;
		}

		
    return true;
  }
