title: Download file on form submistion
body: <p>On submitting the form it should download the file and page gets redirected ideally, this is what I am trying</p>
  
  <p>Now I am using hubspot form My code looks like this which is just to submit the form and redirecting to new page on form submittion.</p>
  
  <pre><code>&lt;form accept-charset="UTF-8" enctype="multipart/form-data" id="hsForm_84b04dc8-4a51-44cc-aa1d-036709bd681f" class="hs-form stacked" action="https://forms.hubspot.com/uploads/form/v2/462167/84b04dc8-4a51-44cc-aa1d-036709bd681f" method="POST"&gt;
      &lt;h2&gt;The Outsourcing Planning Template&lt;/h2&gt;
      &lt;div class="col-md-6"&gt;
         &lt;input type="text" class="form-control" required="required" id="firstname-84b04dc8-4a51-44cc-aa1d-036709bd681f" name="firstname"  placeholder="Name"&gt;
      &lt;/div&gt;
      &lt;div class="col-md-6"&gt;
         &lt;input  type="email" class="form-control" required="required" id="email-84b04dc8-4a51-44cc-aa1d-036709bd681f" name="email"  placeholder="Email Address"&gt;
      &lt;/div&gt;
      &lt;div class="hs_submit"&gt;
         &lt;div class="actions"&gt;&lt;input class="btn btn-default" type="submit"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Now to download the pdf file I modified the 3rd last line in the code as below:</p>
  
  <pre><code>&lt;div class="hs_submit"&gt;
     &lt;div class="actions"&gt;&lt;input class="btn btn-default" href="http://cdn2.hubspot.net/hub/462167/file-2150080411-pdf/High_freq.pdf" type="submit" download&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Took the reference from:
  <a href="https://stackoverflow.com/questions/11620698/how-to-trigger-a-file-download-when-clicking-an-html-button-or-javascript">How to trigger a file download when clicking an html button or javascript</a></p>
  
  <p>Also referred <a href="http://help.hubspot.com/articles/KCS_Article/COS-General/How-do-I-provide-a-direct-download-link-to-a-pdf-file" rel="nofollow noreferrer">How do I provide a direct download link to a PDF file?</a> But is there no way to use download tag of html or some solution?
  Thanks in advance</p>