Really your answer did give me some ideas so it might lead to the answer. I'm looking into using a nested if or else if statement. Basically if I can get it to check the condition button a,b,c,d etc it could work along that line.
I just found something that might work. Check this out.
if (inpVal != "") {
if (inpVal == "A") {
alert("Thanks for the A.");
} else if (inpVal == "B") {
alert("Thanks for the B.");
} else if (inpVal == "C") {
alert("Thanks for the C.");
} else {
alert("Sorry, wrong letter or case.")
}
} else {
alert("You did not enter anything.")
}
}
I think this is what you were talking about. I found this on this site. Looks like there's some useful info here.
http://www.java2s.com/Code/JavaScript/Language-Basics/DeeplyNestedifelseConstructions.htm