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:
- convert the html form they just saw (after user selects all the items they want) into a pdf
- the PDF should not be stored on our server
- the PDF should be emailed to the email address submitted via the form
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.
/-------- Edited --------/ I can 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.