title: Get value of radio button group in route after form submit?
body: <p>I have a radio button group on my page which is within a form. When the form is submitted, I would like to retrieve the values of the form and save them to my database. It seems that the value for the radio button group is <code>radiobtngrp: 'on'</code> but I don't know which one of the radio buttons is on. How do radio buttons work on the submit of a form?</p>
  
  <p>Here is my HTML code for the radio buttons:</p>
  
  <pre><code>&lt;label for="q-&lt;%= question.id %&gt;"&gt;
      &lt;input id="q-&lt;%= question.id %&gt;-r-i" type="radio" class="form-control" name="radiobtn"&gt;
      &lt;img src="/images/a.png"&gt;
  &lt;/label&gt;
  </code></pre>
  
  <p>I have multiple radio buttons which are added through a loop in my ejs file.</p>
  
  <p>My submit button looks like this:</p>
  
  <pre><code>&lt;button class="btn btn-lg btn-signin btn-yellow" type="submit"&gt;Submit&lt;/button&gt;
  </code></pre>
  
  <p>Now in my route, if I try something like this:</p>
  
  <pre><code>console.log(req.body.radiobtn);
  </code></pre>
  
  <p>I see this in the console:</p>
  
  <pre><code>radiobtn: 'on'
  </code></pre>
  
  <p>Why is this? And how can I get the actual radio button which was clicked?</p>
  
  <p>Thanks in advance!</p>