I have a simple Contact creationg VF page with bunch of input fields. Clicking on the Submit button would create a Contact record and shows a confirmation message on the screen. Now, I would like to generate a PDF file (format doesn't really matter) by capturing all the labels and respective values and attach it under the Notes and Attachments section of the Contact record, for audit purposes.
Is it possible to achieve this? Are there any standard functions I can make use of?
Note: I am not having renderAs = pdf
tag as this is just an intake form.