<html>
<H1><center>Ajouter un Service</center></H1>
<hr>
<form action="AjoutService.php" method=post name="test" OnSubmit="return champsok()">
<script language="javascript">
<!--
function champsok()
{
if (document.test.nom.value.length == 0)
{
alert("Entrer un nom valide, Merci" );
return false;
}
return true;
}
//-->
</script>
<table border=3 table bordercolor=green width=200>
<tr>
<th> Nom du service </th>
</tr>
<td> <center><input size=25 type=text name=nom onChange="javascript:this.value=this.value.toLowerCase();"> </td>
</table>
<br>
<input type=submit value="Enregistrer">
<input type=reset value="Effacer">
je vois pas comment faire