@phil18799 instead of:
if($w("#radioGroup1").value !==null&& $w("#radioGroup1").value.length >0)
Use:
if($w("#radioGroup1").value)
//and for all the others
Explanation: Your code will throw an error if the radioButton value is undefined because undefined value doesn’t have a length property.
But my suggestion validates that there’s is a defined value that is not null and has a length of at least one character (because null, undefined, and empty strings are all not truthy).