title: Get value from unchecked checkbox in play
body: <p>I need to get the value for an unchecked checkbox using the Play framework. I can get the value if I check the checkbox.</p>
  
  <p>My html is as follows</p>
  
  <pre><code>   &lt;input type="checkbox" name="correctAnswer" value="true"&gt;
  </code></pre>
  
  <p>This is how I get the data in the controller, which gives me an array of only checked boxes</p>
  
  <pre><code>  String[] segaMega = request().body().asFormUrlEncoded().get("correctAnswer");
  </code></pre>
  
  <p>I have tried doing the hidden field before the checkbox trick, but that didnt work very well. Does play have anything that can help me?</p>