i have a requirement in which there are two radio buttons (RB1 , RB2) and two fields (F1 and F2).
on clicking radiobutton RB1 field F2 must hide and only field F1 should show.
like that on RB2 only field F2 should show.
my view is of type XML .
how should i write code to get this functionality?