We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Radio button [group] value

How do we get the value of the selected radio-button, normally radio buttons have a group, we should be able to get the value without looking on each radio-button element individually, right ?

This example says nothing:

Thank you!

4 Replies

SI Silambarasan I Syncfusion Team March 26, 2019 04:15 AM UTC

Hi Davi Daniel, 
Thank you for contacting Syncfusion support. 
We have checked your reported requirement and currently, we don't have any inbuilt option to get the selected radio button from  radio button group. However, we considered this as an improvement and logged a task for “To get the value of the selected radio button”. This will be available in our upcoming EJ2 patch release. We will update you with the sample once patch release has been rolled-out, and we appreciate your patience until then. 
In this improvement, we will provide a method to get the selected radio button value from group. Meanwhile, we would suggest you to use the below workaround solution provided in the following sample to achieve your requirement.  
Sample Link: 
You can also track the status of this improvement through from the below feedback portal link. 

VK Vinoth Kumar Sundara Moorthy Syncfusion Team April 9, 2019 05:10 PM UTC

Hi Davi Daniel, 

Thank you for your patience. 

We are glad to announce that our Essential JavaScript 2 patch release (v17.1.40) has been rolled out successfully and in this release, we have added the fix for “To get the value of the selected radio button”. So, you can update the package ej2-buttons to version 17.1.40 to get the value of selected radio button from button group. For your convenience, we have modified our previously provided sample based on your requirement and same can be found in below link, 

Could you please get back to us if you need further assistance? 

Vinoth Kumar S 

DD Davi Daniel Siepmann April 9, 2019 05:17 PM UTC

That's awesome.

Thank you so much for keeping us posted!

Have a wonderful week you guys.

VK Vinoth Kumar Sundara Moorthy Syncfusion Team April 10, 2019 04:58 AM UTC

Hi Davi Daniel, 
You are most welcome. Please feel free to contact us if you need any further assistance on Syncfusion components. 
Vinoth Kumar S 

Live Chat Icon For mobile
Up arrow icon