title: Html required attribute set as not required
body: <p>I have some code as below:</p>
  
  <pre><code>&lt;label class="control-label col-sm-4" for="datepicker"&gt;Date of Birth&lt;/label&gt;
  &lt;div class="col-sm-8" &gt;&lt;input class="form-control col-sm-10" type="text" id="datepicker" name="datepicker" required="true" value="&lt;?php if(isset($_SESSION['DOB'])) echo $_SESSION['DOB'] ?&gt;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>My issue is that I don't want this "Date of Birth" field to be a required field anymore.  How do I set this field as unrequired?</p>
  
  <p>I have tried setting <code>required="false"</code> but this does not work.</p>
  
  <p>Any advice much appreciated, many thanks
  Jean-Claude</p>