[B]
[I]Here is the script and radio button code I used to get the value from the radio buttons to the textbox.
<TITLE>Form</TITLE>
<script type=”text/javascript”>
function addVal(newVal, dest, addOrRemove) {
if (addOrRemove) { // true == add; false == remove;
if (dest.value.length != 0) {
dest.value= “”;
}
dest.value += newVal;
} else {
dest.value.replace(new RegExp(“[, ]?” + value, “ig”), “”);
}
}
</script>
<input type=”radio” value=”45″ name=”AdultMembership”onclick=”addVal(this.value, this.form.AmountPaid, this.checked)” />
<input type=”radio” name=”JuniorMembership” value=”20″onclick=”addVal(this.value, this.form.AmountPaid, this.checked)” />
<input type=”radio” name=”FamilyMembership” value=”60″onclick=”addVal(this.value, this.form.AmountPaid, this.checked)” />
[I]Here’s the submit code one is for 45 ones for 20 and the last is 60. There’s other stuff in each form of below I didn’t think it was relevant.
<form action=”
<form action=”
<form action=”