title: Accessing value from ExtJS Radio button
body: <p>So I declare an ExtJS radio button object like this:</p>
  
  <pre><code>.AddExtObject("{xtype:'radiogroup', ref:'../AndOr', defaults:{name:'rdo-payee2'}, width:120, items:[{boxLabel:'And', checked:true, inputValue:'and'},{boxLabel:'Or', inputValue:'or'}]}")
  </code></pre>
  
  <p>When I do this:</p>
  
  <pre><code>if (checkWin.Payee2.AndOr.getValue() == 'and') {
                  fundingRec.set('IsPayee2RequiredToSign', '1');
              } else {
                  fundingRec.set('IsPayee2RequiredToSign', '0');
              }
              Global.alert(checkWin.Payee2.AndOr.getValue());
  </code></pre>
  
  <p>In my save method however, it outputs this:</p>
  
  <pre><code>[object Object]
  </code></pre>
  
  <p>So the fundingRec is never getting set as '1' because it always see's that the value is what I have in the text above and always sets it as '0'.</p>
  
  <p>How do I correctly access the value of this field as I need to?</p>