Replying to myself to make sure I dont confuse other people checking it out.
First of all, thanks everyone for the replies, they made me realize my mistake was not there and found where the problem was.
It was a noob mistake, in the hurry and stress I was trying to access a radiobutton's value directly like so:
document.form.radio.value
This is a big no no
Remember radio buttons are in a sense at least, ARRAYS
seems to be correct:
document.form.radio[index].value
And that can be compared to undefined or null.
Yup, I noticed that to simplify I used a textbox in my example, if I would have used the radiobutton you could have told me straight where my problem (idiocy) lied.
Well, thanks a lot for your help and hope this helps more people down the line. =)
Puno.
Spectrum 48K BASIC's was cooler, it had a BEEP instruction.