hallo leute ich habe mal eine frage kann man irgendwie mit php oder so regeln das wenn mann mehrere checkboxen hat nur eine checkbox anwählbar ist also ich will damit sagen eine checkbox pro name also d.h. nur ein häckchen in "Farbe"und ein häckchen in "From" und "Größe":
(oder ist es vllt. besser wenn mann radio buttons nimmt )
danke schonmal
<form method="post" action="<?php $SERVER['PHP_SELF'] ?>">
<input type=checkbox name="Farbe" value="Rot" >
Rot
<br>
<input type=checkbox name="Farbe" value="Blau" >
Blau<br>
<br />
<input type=checkbox name="Form" value="Würfel" >
Würfel<br>
<input type=checkbox name="Form" value="Ball">
Ball<br>
<br />
<input type=checkbox name="Größe" value="Großl" >
Würfel<br>
<input type=checkbox name="Größe" value="Klein">
Ball<br>
<input type="submit" name="save">
</form
(oder ist es vllt. besser wenn mann radio buttons nimmt )
danke schonmal
<form method="post" action="<?php $SERVER['PHP_SELF'] ?>">
<input type=checkbox name="Farbe" value="Rot" >
Rot
<br>
<input type=checkbox name="Farbe" value="Blau" >
Blau<br>
<br />
<input type=checkbox name="Form" value="Würfel" >
Würfel<br>
<input type=checkbox name="Form" value="Ball">
Ball<br>
<br />
<input type=checkbox name="Größe" value="Großl" >
Würfel<br>
<input type=checkbox name="Größe" value="Klein">
Ball<br>
<input type="submit" name="save">
</form