Please help
I am stuck on how to click checkbox and put area code in textfield
<?php $array1 = array("(516)","(631)","(718)"); ?>
<?php $AreaCode = $array1; ?>
<td><input name="Phone" type="text" value="<?php echo $array1[0] ?>" size="15" />
<input name="RadioGroup1" type="radio" id="RadioGroup1_0" value="<?php echo $array[0]; ?>" checked="checked" />
<label>(516)</label>
<input type="radio" name="RadioGroup1" id="RadioGroup1_1" value="<?php echo $array[1]; ?>" />
<label>(631)</label>
<input type="radio" name="RadioGroup1" id="RadioGroup1_2" value="(718)" />