title: In ExtJS how do I load an object into a form field?
body: <p>If I have a JSON response like,</p>
  
  <pre><code>{
      "something": "foo",
      "subobject": {
          "id": "bar",
          "name": "baz"
      }
  }
  </code></pre>
  
  <p>I am loading the response into a form using <code>form.setValues(responseObject)</code>. </p>
  
  <p>If I have <code>displayfield</code> in the form that is subobject, how do I put that name from the subobject into that field? Or better yet, how do I put the name and the id into that field?</p>
  
  <p>I tried a custom renderer, but the value parameter passed into the renderer is a string containing <code>"[object Object]"</code>.</p>
  
  <p>I am using ExtJS 4.1.3. Anyone have any advice?</p>