use an onclick function to set the value.
Something like
<head>
<script language="javascript">
function SetMyValue()
{
document.myform.mayvalue.value = yourvalue;
}
</script>
</head?
<form name="myform" ... >
<input type="hidden" name="myvalue">
...
<input type="radio" name="b1" onclick="SetMyValue()">
...
</form>
$HTTP_XXX_VARS['myvalue'] should contain your new value
Good luck!
NOTE: I did not test this form 🙂) hope it helps