buton radio unique a la selection
Bonjour,
je sais que c'est un truc un peu bette mais je bloque la dessus,
j'ai un formulaire ou je demande deux choix a l'utilisateur,
seulement le site permet a l'utilisateur de sélection les 2 choix au lieu d'en avoir que un de sélectionner.
code
Code:
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
| <form action="" method="post" name="ins02"> <table width="515" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="133" align="left" bgcolor="#FFFFFF">Nom : </td>
<td colspan="2" align="left"><input type="text" size="20" name="nom" maxlength="20" /></td>
<td width="156" rowspan="8" align="left" valign="top"> <p class="Style3">Uyoku : 300/300/300</p>
<p class="Style3">Sayoku : 7/7/7 </p></td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">Prénom : </td>
<td colspan="2" align="left"><input type="text" size="20" name="prenom" maxlength="20" /></td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">Sexe : </td>
<td width="97" align="left"><input name="sexeh" type="radio" value="M" > Homme </td>
<td width="124" align="left"><input name="sexef" type="radio" value="F" />
Femme</td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">Login : </td>
<td colspan="2" align="left"><input type="text" size="20" name="login" maxlength="20" ></td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">Mot de passe : </td>
<td colspan="2" align="left"><input type="password" size="20" name="mdp" maxlength="20"></td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">e.m@il : </td>
<td colspan="2" align="left"><input type="text" size="20" name="mail" maxlength="60" /></td>
</tr>
<tr>
<td align="left" bgcolor="#FFFFFF">Choix du serveur </td>
<td align="left"><input type="radio" name="ragnarok" value="ragnarok" >Uyoku </td>
<td align="left"><input name="lowrate" type="radio" value="lowratte" />
Sayoku </td>
</tr>
<tr>
<td colspan="3" align="left" ><div align="center"><span class="Style2">Attention, votre mot de passe doit rester confidentiel, nous ne somme pas responsable<br />
d'éventuelles pertes sur vos comptes</span><br />
<br />
<input type="submit" name="ins02" value="S'inscrire!" />
</div></td>
</tr>
</table></form> |
La personne a le choix entre Homme ou Femme et entre 2 serveur différent, mais si l'on veut on peut tout cocher actuellement!
Merci.