How can I set the one of radio button (Identity: HKID, Passport or Chinese ID) must be checked? ONLY one of the Identity ( HKID, Passport or Chinese ID) ) is required before submit.
Thank you very much for your help & support first !
<form method="post" action="ComSec_insert.php" accept-charset="UTF-8">
<br>
<font color="red"><b>Please choose ONE of the Identity : HKID / Passport / Chinese ID to submit! </b></font>
<br>
<font color="red"><b>ComSec - HKID No.: </b></font><br>
<input type="radio" name="comsec_hkid_tbid" value="<?php echo $row["comsec_hkid_tbid"]; ?>" >
<?php echo $row["comsec_hkid"]; ?>
<br>
<font color="red"><b>ComSec - Passport: </b></font><br>
<input type="radio" name="comsec_passport_tbid" value="<?php echo $row["comsec_passport_tbid"]; ?>" >
<?php echo $row["comsec_passport_country"]." ".$row["comsec_passport_no"]; ?>
<br>
<font color="red"><b>ComSec - Chinese ID: </b></font><br>
<input type="radio" name="comsec_chineseid_tbid" value="<?php echo $row["comsec_chineseid_tbid"]; ?>" >
<?php echo $row["comsec_chinese_id"]; ?>
<br>
<input type="submit" name="submit" value="Submit"> </form>