title: HTML input required attribute not working for a field
body: <p>I am trying to do some client side validations and when I am adding the required attribute to my HTML inputs but it works only for some fields.</p>
  
  <pre><code>&lt;input type = "text" name="description" id = "descriptionOfChange" required&gt; //this works
  &lt;input type = "text" name = "cid" id = "cid" required&gt; //this does not work(also is my primary key. Not sure if that is the reason why)
  &lt;input type="text" name = "dateOfCompletion" id="datepicker" required /&gt; //this works too
  </code></pre>