Hi,
There are several documents available from Mendix that will help you understand how to generate a PDF with the data entered in a form. Here is a link that walks you through a use case: https://docs.mendix.com/refguide9/creating-your-own-documents/.