Hello,
- I design a form with Bluevoda like this.
<FORM name="register" action="mail.php" method="post">
.
.
<DIV style="Z-INDEX: 1; LEFT: 144px; OVERFLOW: hidden; WIDTH: 25px;
POSITION: absolute; TOP: 39px; HEIGHT: 25px" align=left>
<INPUT type=radio value="Bpk" name="bi">
</DIV>
<DIV style="Z-INDEX: 3; LEFT: 216px; OVERFLOW: hidden; WIDTH: 25px;
POSITION: absolute; TOP: 40px; HEIGHT: 25px" align=left>
<INPUT type=radio value="Ibu" name="bi">
</DIV>
.
.
<DIV style="Z-INDEX: 31; LEFT: 145px; OVERFLOW: hidden; WIDTH: 65px;
POSITION: absolute; TOP: 531px; HEIGHT: 30px" align=left>
<INPUT type=submit value="kirim" name="register">
</DIV>
.
- Both input type=radio are not CHECKED.
- After hitted the submit button to redirected to "mail.php",
you got undefined "bi" in "mail.php".
- But it is OK when one of them is CHECKED.
Should you always CHECKED one when working with input type=radio ?
- I design a form with Bluevoda like this.
<FORM name="register" action="mail.php" method="post">
.
.
<DIV style="Z-INDEX: 1; LEFT: 144px; OVERFLOW: hidden; WIDTH: 25px;
POSITION: absolute; TOP: 39px; HEIGHT: 25px" align=left>
<INPUT type=radio value="Bpk" name="bi">
</DIV>
<DIV style="Z-INDEX: 3; LEFT: 216px; OVERFLOW: hidden; WIDTH: 25px;
POSITION: absolute; TOP: 40px; HEIGHT: 25px" align=left>
<INPUT type=radio value="Ibu" name="bi">
</DIV>
.
.
<DIV style="Z-INDEX: 31; LEFT: 145px; OVERFLOW: hidden; WIDTH: 65px;
POSITION: absolute; TOP: 531px; HEIGHT: 30px" align=left>
<INPUT type=submit value="kirim" name="register">
</DIV>
.
- Both input type=radio are not CHECKED.
- After hitted the submit button to redirected to "mail.php",
you got undefined "bi" in "mail.php".
- But it is OK when one of them is CHECKED.
Should you always CHECKED one when working with input type=radio ?
Comment