title: Get field value from form with busboy
body: <p>How do i retrieve a single field value from the "val" param with busboy?</p>
  
  <p>.js</p>
  
  <pre><code>app.post('/somewhere', (req, res) =&gt; {
      req.busboy.on('field', function(fieldname, val) {
         //var foo = val.name;
         //var bar = val.number;
      });
  });
  </code></pre>
  
  <p>.html</p>
  
  <pre><code>&lt;input type="text" name="name"&gt;&lt;br&gt;
  &lt;input type="tel" name="number"&gt;&lt;br&gt;
  </code></pre>
  
  <p>According to <a href="https://github.com/mscdex/busboy" rel="noreferrer">busboy git</a>:</p>
  
  <blockquote>
    <p>field [...] Emitted for each new non-file field found.</p>
  </blockquote>
  
  <p>Using the provided example, i was able to identify that 'var' consists of two strings:</p>
  
  <pre><code>typeof(val) 
  
  string
  string
  </code></pre>
  
  <p>But after that i'm clueless in:</p>
  
  <ol>
  <li>What is val in this scope? A var? array? something else?</li>
  <li>How do i acess a specific element from val? Like the 'name' field.</li>
  </ol>