Menu
I set up a simple data checking utility in js to check a form before it’s uploaded, using the onsubmit event in the <form> tag. It worked fine in the text boxes but when it came to the radio buttons, it wouldn’t work at all. All I wanted to check is to see if one of the radio buttons was selected using a line like if(document.inputform.VehicleType.value ==”) and it simply wouldn’t pick up an unselected radio button group. I tried the oppossite like if(!(….1value!=”&&….2value!=”&&……..)) to see if that would trap the one but no way either. Does anyone have a suggestion!