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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Radio button [group] value

Thread ID:

Created:

Updated:

Platform:

Replies:

143494 Mar 22,2019 03:48 PM UTC Apr 10,2019 04:58 AM UTC JavaScript - EJ 2 4
loading
Tags: RadioButton
Davi Daniel Siepmann
Asked On March 22, 2019 03:48 PM UTC

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:
https://ej2.syncfusion.com/documentation/radio-button/how-to/name-and-value-in-form-submit/#name-and-value-in-form-submit

Thank you!

Silambarasan I [Syncfusion]
Replied On 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. 
 
Regards, 
Silambarasan 


Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On 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? 

Regards, 
Vinoth Kumar S 


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

That's awesome.

Thank you so much for keeping us posted!

Have a wonderful week you guys.

Vinoth Kumar Sundara Moorthy [Syncfusion]
Replied On 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. 
  
Regards, 
Vinoth Kumar S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;