How to create a PDF from the user's details and the answers they provided?


this is the designer page


and this is the block


The employee can choose either to return to the home screen or to print a PDF. If the user clicks the ‘Create PDF’ button, it will open the ‘create_PDF’ screen, where their details and the answers they provided in the SQL database will be displayed.

image
this is the table

do any of you know how to make it when the user clicks the ‘Create PDF’ button, it will open the ‘create_PDF’ screen, where their details and the answers they provided in the SQL database will be displayed?

You don’t know how to create a PDF or how to switch to the print PDF page ?

For the first question you can find and use an extension ( like this ) or other you can find with a search in the community.

For the second point you need a new screen or a virtual screen (the second is better ) to open with the form you want to covert to PDF.