DB2Problem,
Well, I'm new at this too. I can give you three functions that will do this in Internet Explorer. It will do all the popup boxes in Netscape, but doesn't cancel the event. That is a problem that I am currently working on.
It is long, but it will do what you asked for. Someone problably has a better way. I pasted them all together, and I just tested this, and it works.
First, you name your radiobuttons with IDs.
<input type="radio" name="var1" id="radiobutton1" value="value1">
<input type="radio" name="var1" id="radiobutton2" value="value2">
<input type="radio" name="var1" id="radiobutton3" value="value3">
<input type="radio" name="var1" id="radiobutton4" value="value4">
Second, name your text field.
<imput type="text" name="var2" id="textfield1">
In the submit button, add onclick="allFieldsChecked()"
Here is the script to go in the header,
<script language="JavaScript">
function allFieldsChecked()
{
var radiochecked="false";
var radiobutton1=document.getElementById("radiobutton1"

.checked;
if (radiobutton1==true)
{
radiochecked="true";
}
var radiobutton2=document.getElementById("radiobutton2"

.checked;
if (radiobutton2==true)
{
radiochecked="true";
}
var radiobutton3=document.getElementById("radiobutton3"

.checked;
if (radiobutton3==true)
{
radiochecked="true";
}
var radiobutton4=document.getElementById("radiobutton4"

.checked;
if (radiobutton4==true)
{
radiochecked="true";
}
if (radiochecked=="false"

{
alert("You have not selected a radiobutton"

;
}
//check texfield1
var textfield1=document.getElementById("textfield1"

.value;
if (textfield1==""
//if textfield1 is not filled out
{
alert("You have not filled out the text box."

;
radiochecked="false";
}
//is textfield1 an integer?
else
{
radiochecked=IsNumeric(textfield1);
}
//if no radio button is checked, textfield1 not filled out, or textfield1 not an integer - cancel.
if (radiochecked=="false"

{
window.event.returnValue = false;
}
}
function IsNumeric(strString)
{
var strValidChars = "0123456789";
var strChar;
var blnResult = true;
if (strString.length == 0) return false;
for (i = 0; i < strString.length && blnResult == true; i++)
{
strChar = strString.charAt(i);
if (strValidChars.indexOf(strChar) == -1)
{
blnResult = false;
}
}
if (blnResult==false){MsgBox("The data you entered in not an integer. Please correct data."

;}
return blnResult;
}
function MsgBox (textstring)
{
alert (textstring)
}
</script>