Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 102317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:56:24+00:00 2026-05-11T00:56:24+00:00

I am having some difficulty accessing the value of the selected radio button in

  • 0

I am having some difficulty accessing the value of the selected radio button in a radiogroup. I’ve attempted a number of different approaches based upon discussion in other posts on the forum and around the web. Unfortunately haven’t been lucky (or skilled) enough to get it working. Based on the following FormPanel config I was hoping someone could show me how to get the value of the selected radio in the group ‘mainPhone’.

Thanks!

Wanted to update to indicate that I was able to get a response from stackoverflow while the EXT-JS forums didn’t provide me with any help. Way to go stackoverflow!

Matt

function createForm(elem) { var myForm2 = new Ext.form.FormPanel({   renderTo:elem,   width:425,   frame:true,   style:'margin: 10px auto 10px auto;',   items: [{xtype:'fieldset',             title: 'Contact Info',             autoHeight:true,             items :[new Ext.form.RadioGroup({                         fieldLabel: 'Main Phone',                         vertical: false,                         id:'mainPhone',                         items: [                             {boxLabel: 'Home', name: 'id-1', inputValue: 'H', checked:true},                             {boxLabel: 'Work', name: 'id-1', inputValue: 'W'},                             {boxLabel: 'Other', name: 'id-1', inputValue: 'O'}                         ]                          }),                   new Ext.form.TextField({                     id:'frm_CreateCustomerHomePhone',                     fieldLabel:'Home Phone',                     width:275,                     allowBlank:true                  }),                  new Ext.form.TextField({                     id:'frm_CreateCustomerWorkPhone',                     fieldLabel:'Work Phone',                     width:275,                     allowBlank:true                  })                   new Ext.form.TextField({                     id:'frm_CreateCustomerOtherPhone',                     fieldLabel:'Other Phone',                     width:275,                     allowBlank:true                  })     ]}]});               } 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:56:25+00:00Added an answer on May 11, 2026 at 12:56 am

    This is something of a wild guess, but how about this:

    myForm2.getForm().getValues()['id-1']; 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im having some difficulty trying to pull out a specific value from a cookie.
I am having some difficulty writing a function that will search through a directory
I'm having some difficulty writing some Unit Tests to test a custom ModelBinder that
I'm having some difficulty with my Entity Framework context that is proving very troublesome
I've been having some difficulty in understanding the source of a problem. Below is
I'm having some difficulty figuring out the best ways to pause and resume my
I'm having some difficulty figuring out what is going on and how to fix
I am having some difficulty creating a bundle for my application, and placing files
I am writing a GAE application and am having some difficulty with the following
Having some difficulty understanding the best way to implement subclasses with a generic repository

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.