title: Javascript date validation for PDF-form
body: <p>I've got an PDF-form with required fields.
  One field is "Valid from" the other "Date of expiry".</p>
  
  <p>Todays date or earlier must be entered into "Valid from".</p>
  
  <p>I'm new into coding with Javascript. I'm using Adobe Acrobat for creating contracts with required fields.</p>