PDA

View Full Version : getValue() in RadioGroup



nitesh35103
3 Jul 2009, 9:50 AM
Hi,

Can someone help me with Radio buttons. How to get value:


xtype: 'radiogroup',
name : 'radioWeight',
items: [
{boxLabel: '0', name: 'rb-auto', inputValue: 0},
{boxLabel: '1', name: 'rb-auto', inputValue: 1},
{boxLabel: '2', name: 'rb-auto', inputValue: 2, checked: true},
]Is it correct??

var radioValue = form.getForm().findField("radioWeight").getValue();