Javascript radiobutton edit

Guys I wonder if you can help.

I have two radio button fields on a web form. If the user selects a value in Field A - then Feld B must be set to Null and vice versa.

I have tried putting a simple but of js -form.field.value = null - in the onFocus event of each field, but it won’t set the value. I can get it to set the value of a text field using the same code, but not the radio button field. Is there an equivalent of using the old @deletefield function in JS

Any help would be greatly appreciated.

Thanks

M

Subject: Only post questions in one forum please