PDA

View Full Version : FormPanel setValues on Radio Buttons



taxidriver
9 Mar 2011, 2:36 AM
I have an Ext.form.FormPanel where there are 2 radios with the same name: 'radioName'.
After applying the method Ext.getCmp('formpanelid').getForm().getFieldValues() I get an object of the field values where there is an array "radioOK":[true,false]', for the 2 radios.

After re-applying the above object to formpanel with the method setValues() I get the error: ""Error parsing selector, parsing failed at "[value=true"""

I'd appreciate any help

Thank you

walldorff
11 Mar 2011, 7:57 PM
Maybe this example (http://dev.sencha.com/deploy/dev/examples/form/check-radio.html) might help.