title: How to get the JSON on click of Submit button while using ant design Form component
body: <p>I am trying to get the JSON on click of Submit button as below:</p>
  <pre><code>{
   &quot;qbClientInfo&quot;:{
    &quot;FullyQualifiedName&quot;: &quot;Test&quot;, 
    &quot;PrimaryEmailAddr&quot;: {
      &quot;Address&quot;: &quot;test@email.com&quot;
    }, 
    &quot;DisplayName&quot;: &quot;Test Name&quot;, 
    }
  }
  </code></pre>
  <p>For that, I have created <code>&lt;Form&gt;</code> as</p>
  <pre><code>   &lt;Form
          layout=&quot;vertical&quot;
          size=&quot;medium&quot; 
          onFinish={onNext}
      &gt;
              &lt;Form.Item
                  label=&quot;Fully Qualified Name:&quot;
                  name=&quot;FullyQualifiedName&quot;
                  style={{ width: &quot;50%&quot; }}
              &gt;
                  &lt;Input /&gt;
              &lt;/Form.Item&gt;
              &lt;Form.Item
                  label=&quot;Email Address:&quot;
                  name=&quot;Address&quot;
                  style={{ width: &quot;50%&quot; }}
              &gt;
                  &lt;Input /&gt;
              &lt;/Form.Item&gt;  &lt;Form.Item
                  label=&quot;Display Name:&quot;
                  name=&quot;DisplayName&quot;
                  style={{ width: &quot;50%&quot; }}
              &gt;
                  &lt;Input /&gt;
              &lt;/Form.Item&gt;
              &lt;Form.Item
                style={{ marginTop: &quot;35px&quot; }}
              &gt;
             &lt;Button
                  type=&quot;primary&quot;
                  htmlType=&quot;submit&quot;
                  style={{ marginLeft: &quot;15px&quot; }}
                  size=&quot;large&quot;
                &gt;
                  Submit
             &lt;/Button&gt;
         &lt;/Form.Item&gt;
      &lt;Form&gt;
  </code></pre>
  <p>But this gives this JSON when the submit button is clicked.</p>
  <pre><code>{
    &quot;FullyQualifiedName&quot;: &quot;Test&quot;, 
    &quot;Address&quot;: &quot;test@email.com&quot;
    &quot;DisplayName&quot;: &quot;Test Name&quot;, 
  }
  </code></pre>
  <p>I tried putting <code>&lt;Form.Item&gt;</code> inside another <code>&lt;Form.Item&gt;</code> but it didn't work.</p>