---
title: "get the value of checked radio button in Sencha Touch."  
description: "get the value of checked radio button in Sencha Touch."  
author: "Aaron Douglas"  
published: 2013-06-14  
updated: 2013-06-25  
canonical: https://www.mindstick.com/forum/1091/get-the-value-of-checked-radio-button-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# get the value of checked radio button in Sencha Touch.

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
How to get the [value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages) of **checked [radio button](https://www.mindstick.com/articles/12743/radio-button-in-android)** in **[Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch)**.\
Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams) for any recommendations or solutions.

## Replies

### Reply by Sumit Kesarwani

Hi Aaron,\
To get the value of checked radio [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) in sencha [touch](https://www.mindstick.com/forum/34099/how-to-customize-selected-fields-in-a-list-in-sencha-touch-app), first add a groupValue to the radio button and then get the group value through the getGroupValue() method, like this: var centre = Ext.ComponentQuery.query('radiofield[name=Centre]');

Ext.Msg.alert('Selected Centre', centre[0].getGroupValue());

\

If you want to learn more about radio button, then you can read my article:

http://www.mindstick.com/Articles/56bc0549-243a-40f9-83d4-63161fe68e38/?Radio%20Button%20in%20Sencha%20Touch


---

Original Source: https://www.mindstick.com/forum/1091/get-the-value-of-checked-radio-button-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
