title: using javascript/php to convert html form to pdf and email
body: <p>after doing some research and checking, I feel obliged to ask this question because of the numerous elements at play. Here is how it starts. I have a HTML form that is filled with DOM events, can be changed (altered via javascript), and the last thing the user does is put in their email address and click submit. Upon submit it needs to do the following:</p>
  
  <ul>
  <li>convert the html form they just saw (after user selects all the items they want) into a pdf</li>
  <li>the PDF should <em>not</em> be stored on our server</li>
  <li>the PDF should be emailed to the email address submitted via the form</li>
  </ul>
  
  <p>I am not expecting anyone to write the code for me on all of this, but some ideas or best ways/tools to accomplish this would be greatly appreciated. The environments are Javascript and PHP.</p>
  
  <p>/-------- Edited --------/
  I <em>can</em> use FPDF but did not know if there was a way to use javascript to 'capture' the form they were on just prior to submission of the form that way it does the work for me and I do not have to reproduce the form using numerous lines of FPDF to make it match.</p>