How to fix radio button event

Hi

i have 2 radio buttons with 8 choices(ie 8 values in it).

default value is A / B value for two radios.

Now i want to reset(unselect) the value for another radio button when select 1 radio button by user.

Note: this is Notes application and i want to use only LotusScript.

Please do help me in this issue.

Regards,

Subject: entering event

if you must use lotusscript and you want the changes to occur immediately then yo can use the entering event of both radio button fields. If the user clicks into rb1 to select a value it will clear the value of rb2, if the user clicks in the rb2 field to select a value it will clear the value of rb1.

Field entering event for rb1

Sub Entering(Source As Field)

Dim ws As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = ws.CurrentDocument

Call uidoc.FieldClear("rb2")

End Sub

Field entering event for rb2

Sub Entering(Source As Field)

Dim ws As New NotesUIWorkspace

Dim uidoc As NotesUIDocument

Set uidoc = ws.CurrentDocument

Call uidoc.FieldClear("rb1")

End Sub