1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
<SCRIPT LANGUAGE="JavaScript">
function verification(f){
var alertTxt = "";
var numDemande="";
var mail="";
mail = document.getElementById('Beneficiare').value;
alertTxt = verifierMail(mail,alertTxt,"Beneficiare");
mail =document.getElementById('Demandeur').value;
alertTxt = verifierMail(mail,alertTxt,"Demandeur");
mail =document.getElementById('Approb').value;
alertTxt = verifierMail(mail,alertTxt,"Approbateur");
numDemande= document.getElementById('NDemande').value;
alertTxt = verifierNDemande(numDemande,alertTxt);
//NDemande DateInf DateSup
if (alertTxt!="") {
//alert (alertTxt);
alertTxt = "<table >"+ alertTxt +"</table>";
alertTxt += "<p align=center> <a href='#' onclick='window.close();'>Fermer</a>" ;
FenetreAffichage = window.open('','NouvelleFenetre', 'toolbar=no,status=no,width=500,height=350,scrollbars=yes');
FenetreAffichage.document.write(alertTxt);
return false;
}
else{
f.submit();
}
return true;
}
</SCRIPT>
<form action="rechercheCible.asp" method="post" name="formReche" onsubmit="return verification(this.form)">
<table border="0" cellpadding="5" align="center">
<tr>
<td>Bénéficiaire :</td>
<td><input type="text" name="Beneficiare" /></td>
</tr>
<tr>
<td>Demandeur :</td>
<td><input type="text" name="Demandeur" /></td>
</tr>
<tr>
<td>Approbateur :</td>
<td><input type="text" name="Approb" /></td>
</tr>
<tr>
<td> N° demande:</td>
<td><input type="text" name="NDemande" /></td>
<tr>
<td> Période du : </td>
<td><input onclick="ds_sh(this);" name="DateInf" readonly="readonly" style="cursor: text" /></td>
<td> au :</td>
<td><input onclick="ds_sh(this);" name="DateSup" readonly="readonly" style="cursor: text" /></td>
</tr>
</table>
<p align="center">
<FONT color=blue>
<input type=submit value="Chercher" name="bouton" >
</FONT>
</form> |
Partager