title: html input type = date, field constraints
body: <p>I have a <strong>simple input</strong> like : </p>
  
  <pre><code>Enter Payment Date : &lt;input type="date" name="date" required&gt;&lt;br/&gt;&lt;br/&gt;
  </code></pre>
  
  <p>Now I want to restrict the user from selecting a date before the current date. I checked the attributes of the date input and found that I can set a min and max date. But the min attribute requires me to specify a particular date like <code>min="2017-08-06"</code>. But I want it to be system's current date. Because if I set the min date as 2017-08-06 and the user uses the app later on 2017-08-20, then the user can choose a date like 2017-08-15 or so, which I don't want to. I want the user to be able to choose dates from the present date on which he/she is using the app.</p>
  
  <p>Is there any way I can do that using this input field?</p>
  
  <p>Sorry, this is a long explanation, I wanted to clear it out. </p>