Using radio button to append results to a list

Hi All,

I have two radio button sections that, on making the selection, it appends that result to a list. The issue I have is that if the user accidently makes a wrong selection, that selection gets appended to the list, which I don't want. My question is how do I go about appending the current value only. My code is as follows;

a!save(
ri!accessTypeList,
append(
ri!accessTypeList,
save!value
)
)

Any help would be appreciated.

Regards

OriginalPostID-208585

OriginalPostID-208585

  Discussion posts and replies are publicly visible