title: How to get the currently clicked radio button
body: <p>I'm doing a project in Python for college from which I have to make a User Login/Reg system which will contain both Admin and Standard user sessions, for it's simplicity, the user can select it's user permission on registration in the form of radio buttons in a signup.html file.</p>
  
  <pre><code>    &lt;form action="/signup" method="post"&gt;
      &lt;label for="inputEmail" class="sr-only"&gt;Email address&lt;/label&gt;
      &lt;input type="email" name="inputEmail" id="inputEmail" class="form-control" maxlength="45" placeholder="Email address" required autofocus&gt;
      &lt;label for="inputPassword" class="sr-only"&gt;Password&lt;/label&gt;
      &lt;input type="password" name="inputPassword" id="inputPassword" class="form-control" maxlength="45" placeholder="Password" required&gt;
  
  &lt;input type="radio" name="userRole" value="standard"&gt;Standard
  &lt;input type="radio" name="userRole" value="admin"&gt;Admin
      &lt;br&gt;&lt;br&gt;&lt;br&gt;
      &lt;button class="btn btn-lg btn-primary btn-block" type="submit"&gt;Signup&lt;/button&gt;
    &lt;/form&gt;
  </code></pre>
  
  <p>In my python code, I'm able to get the username and password, but I'm unsure as to how I'd get the value of the currently clicked button.</p>
  
  <pre><code>if request.method == 'POST':
          _email = request.form['inputEmail']
          _password = request.form['inputPassword']
          _access = request.form[ .... ]
  </code></pre>
  
  <p>Any help is appreciated, thanks</p>