Radio button as default repeating group

i am taking addresses in a repeating group and there is a field for default address which looks like a radio button,
I can’t figure it out.
one should be select as default the others should not and when the other one is clicked then the previous one should be unchecked.
values are being saved in database as yes and no.
how can i achieve this.

This topic was automatically closed after 70 days. New replies are no longer allowed.