I have a form which contains certain fields . So , What I want is, when the user enters those certain fields and submits the form , it should generate a PDF out of it. Can anyone help me out it ?
What I have done is , I have redirected the form to a new HTML page, got all the data which has to be processed to new page. And then I am stuck as to how to proceed . I am using the naive method of saving the generated HTML and then converting that generated HTML to PDF from command line .
Is there a better method ?