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
| <script type="text/javascript">
function ctrldate(datac) {
sep=datac.value.substr(5,6);
if (sep != "/") {alert("La date n'est pas correcte AAAA/MM/JJ");
this.focus();
this.select();
return false;}
else {return true;}
}
</script>
Gestion des : groupes<br><br>
<form name="formu" action="ezsgfs.php">
<input type="hidden" name="wwfic" value="groupes">
<input type="hidden" name="wwfonc" value="C">
<table width="75%" border="0" cellspacing="15" cellpadding="0">
<tr><td width="25%" align="right">Identifiant du groupe</td>
<td width="75%"> <input type="text" name="idgr" maxlength="16" size="16"></td>
</tr><tr><td width="25%" align="right">Date debut</td>
<td width="75%"> <input type="text" name="ddgr" maxlength="10" size="10" onchange="ctrldate(this)"></td>
</tr><tr><td width="25%" align="right">Date fin</td>
<td width="75%"> <input type="text" name="dfgr" maxlength="10" size="10" onchange="ctrldate(this)"></td>
</tr><tr><td width="25%" align="right">Description</td>
<td width="75%"> <input type="text" name="lbgr" maxlength="64" size="64"></td>
</tr><tr><td width="25%" align="right">   </td>
<td width="75%"> <input type="submit" name="btv" id="btv" value="Validation"/> </td>
</tr></td></tr></table></form> |
Partager