I am very new to Javascript and need help. I have his form where users get to click yes or no radio button. I have set it as when they use tab it will give them an alert. But when they use mouse and click it doesn’t fire an alert. I tried for example <input type="radio" value="V1" name="Diabetes_mellitus" style="font-size: 10pt; font-family: Times New Roman" onclick="validateRadioButtonChecked('Multiple_myelomaYes', 'Multiple_myelomaNo', 'Please Select Yes/No for Multiple Myeloma');"> that doesn’t work. Can someone please help! I don’t have the luxury for submit and go button. This form goes under vendor window and stay like that in DB.
Yes No 60 years or older ? if I skip this and
Yes No Diabetes mellitus ? click here it should alert me that you need to check yes/no for 60 years or older
Yes No Hypertension ? if I skip this
Yes No Benign prostatic hypertrophy (BPH) ? click here it should alert me that you need to check yes/no for Hypertension
Yes No Frequent urinary tract infections (3 or more per year consistently) same here
<tr>
<td width="87">
<input id="years_or_olderYes" onblur="validateRadioButtonChecked('years_or_olderYes', 'years_or_olderNo', 'Please Select Yes/No 60 years or older');" <input type="radio" value="V1" name="years_or_older" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="years_or_olderNo" onblur="validateRadioButtonChecked('years_or_olderYes', 'years_or_olderNo', 'Please Select Yes/No for 60 years or older');" <input type="radio" value="V1" name="years_or_older" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">60 years or older</font></td>
</tr>
<tr>
<td width="87">
<input id="Diabetes_mellitusYes" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'Please Select Yes/No for Diabetes Mellitus');" <input type="radio" value="V1" name="Diabetes_mellitusYes" style="font-size: 10pt; font-family: Times New Roman" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'you forgot 60 years');" ><font size="2">Yes</font>
<input id="Diabetes_mellitusNo" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'Please Select Yes/No for Diabetes Mellitus');" <input type="radio" value="V1" name="Diabetes_mellitusYes" style="font-size: 10pt; font-family: Times New Roman" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'you forgot 60 years');" ><font size="2">No</font></td>
<td width="547"><font size="2">Diabetes mellitus</font></td>
</tr>
<tr>
<td width="87">
<input id="HypertensionYes" onblur="validateRadioButtonChecked('HypertensionYes', 'HypertensionNo', 'Please Select Yes/No for Hypertension');" <input type="radio" value="V1" name="Hypertension" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="HypertensionNo" onblur="validateRadioButtonChecked('HypertensionYes', 'HypertensionNo', 'Please Select Yes/No for Hypertension');" <input type="radio" value="V1" name="Hypertension" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Hypertension</font></td>
</tr>
<tr>
<td width="87">
<input id="Benign_prostatic_hypertrophyYes" onblur="validateRadioButtonChecked('Benign_prostatic_hypertrophyYes', 'Benign_prostatic_hypertrophyNo', 'Please Select Yes/No for Benign Prostatic Hypertrophy');" <input type="radio" value="V1" name="Benign_prostatic_hypertrophy" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="Benign_prostatic_hypertrophyNo" onblur="validateRadioButtonChecked('Benign_prostatic_hypertrophyYes', 'Benign_prostatic_hypertrophyNo', 'Please Select Yes/No for Benign Prostatic Hypertrophy');" <input type="radio" value="V1" name="Benign_prostatic_hypertrophy" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Benign prostatic hypertrophy (BPH)</font></td>
</tr>
<tr>
<td width="87">
<input id="Frequent_urinary_tract_infectionsYes" onblur="validateRadioButtonChecked('Frequent_urinary_tract_infectionsYes', 'Frequent_urinary_tract_infectionsNo', 'Please Select Yes/No for Frequent Urinary Tract Infections');" <input type="radio" value="V1" name="Frequent_urinary_tract_infections" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="Frequent_urinary_tract_infectionsNo" onblur="validateRadioButtonChecked('Frequent_urinary_tract_infectionsYes', 'Frequent_urinary_tract_infectionsNo', 'Please Select Yes/No for Frequent Urinary Tract Infections');" <input type="radio" value="V1" name="Frequent_urinary_tract_infections" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Frequent urinary tract infections (3 or
more per year consistently)</font></td>
</tr>
<tr>
Yes No 60 years or older ? if I skip this and
Yes No Diabetes mellitus ? click here it should alert me that you need to check yes/no for 60 years or older
Yes No Hypertension ? if I skip this
Yes No Benign prostatic hypertrophy (BPH) ? click here it should alert me that you need to check yes/no for Hypertension
Yes No Frequent urinary tract infections (3 or more per year consistently) same here
<tr>
<td width="87">
<input id="years_or_olderYes" onblur="validateRadioButtonChecked('years_or_olderYes', 'years_or_olderNo', 'Please Select Yes/No 60 years or older');" <input type="radio" value="V1" name="years_or_older" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="years_or_olderNo" onblur="validateRadioButtonChecked('years_or_olderYes', 'years_or_olderNo', 'Please Select Yes/No for 60 years or older');" <input type="radio" value="V1" name="years_or_older" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">60 years or older</font></td>
</tr>
<tr>
<td width="87">
<input id="Diabetes_mellitusYes" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'Please Select Yes/No for Diabetes Mellitus');" <input type="radio" value="V1" name="Diabetes_mellitusYes" style="font-size: 10pt; font-family: Times New Roman" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'you forgot 60 years');" ><font size="2">Yes</font>
<input id="Diabetes_mellitusNo" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'Please Select Yes/No for Diabetes Mellitus');" <input type="radio" value="V1" name="Diabetes_mellitusYes" style="font-size: 10pt; font-family: Times New Roman" onblur="validateRadioButtonChecked('Diabetes_mellitusYes', 'Diabetes_mellitusNo', 'you forgot 60 years');" ><font size="2">No</font></td>
<td width="547"><font size="2">Diabetes mellitus</font></td>
</tr>
<tr>
<td width="87">
<input id="HypertensionYes" onblur="validateRadioButtonChecked('HypertensionYes', 'HypertensionNo', 'Please Select Yes/No for Hypertension');" <input type="radio" value="V1" name="Hypertension" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="HypertensionNo" onblur="validateRadioButtonChecked('HypertensionYes', 'HypertensionNo', 'Please Select Yes/No for Hypertension');" <input type="radio" value="V1" name="Hypertension" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Hypertension</font></td>
</tr>
<tr>
<td width="87">
<input id="Benign_prostatic_hypertrophyYes" onblur="validateRadioButtonChecked('Benign_prostatic_hypertrophyYes', 'Benign_prostatic_hypertrophyNo', 'Please Select Yes/No for Benign Prostatic Hypertrophy');" <input type="radio" value="V1" name="Benign_prostatic_hypertrophy" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="Benign_prostatic_hypertrophyNo" onblur="validateRadioButtonChecked('Benign_prostatic_hypertrophyYes', 'Benign_prostatic_hypertrophyNo', 'Please Select Yes/No for Benign Prostatic Hypertrophy');" <input type="radio" value="V1" name="Benign_prostatic_hypertrophy" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Benign prostatic hypertrophy (BPH)</font></td>
</tr>
<tr>
<td width="87">
<input id="Frequent_urinary_tract_infectionsYes" onblur="validateRadioButtonChecked('Frequent_urinary_tract_infectionsYes', 'Frequent_urinary_tract_infectionsNo', 'Please Select Yes/No for Frequent Urinary Tract Infections');" <input type="radio" value="V1" name="Frequent_urinary_tract_infections" style="font-size: 10pt; font-family: Times New Roman"><font size="2">Yes</font>
<input id="Frequent_urinary_tract_infectionsNo" onblur="validateRadioButtonChecked('Frequent_urinary_tract_infectionsYes', 'Frequent_urinary_tract_infectionsNo', 'Please Select Yes/No for Frequent Urinary Tract Infections');" <input type="radio" value="V1" name="Frequent_urinary_tract_infections" style="font-size: 10pt; font-family: Times New Roman"><font size="2">No</font></td>
<td width="547"><font size="2">Frequent urinary tract infections (3 or
more per year consistently)</font></td>
</tr>
<tr>