Posted: 10 Feb 2016 4:46 EST Last activity: 11 Feb 2016 22:44 EST
How to clear selection for a radio button
I have two properties in a section with control as radio button and i want to display another section based on the selected radio button. If i select one radio button another radio button selection must be cleared to display section related to selected radio button.
Please help me to identify how i can achieve this.
I have two seperate radio buttons say Claim,Auth and based on the selection we are populating some other sections. In Claim we have two radio button options as Claim ID, Date Range and for Auth we have AuthID, Date Range. So, if i select Claim ID then it should show section related to Claim only. Instead it is displaying both Claim and Auth related sections because both are selected. I am resetting the selected property value to empty after selecting Claim or Auth.
Could you please attach a sample screen shot of the mentioned scenario.
Hope you are using two different property; Claim whose values will be Claim id and date range (Showed as radio button) and another property Auth whose values will be auth id and date range (Shown as radio buttons).
When you are selecting any of the options in the Claim, the section related tot he claim should be displayed, if same for the other.
When you are selecting any (if in claim) the other values (auth radio buttons) should be set to null, so that only one section will be visible based on the selected option.
Thanks for your reply, what I have done is on click of radio button post value and refresh section to set flag for visible conditions. I have two radio buttons here and Problem is when I select one radio button another radio button is not getting cleared . Because of that the clipboard value is having previous value for other radio button.