As you have indicated, you can easily include the entry number on the confirmation page, confirmation emails, etc., by adding the token "Entry.Number" from the Insert Field option when customizing these settings in Cognito Forms.
If you want to include the entry number in the generated PDF document, you have two options:
- You can insert this token into a Content field that is part of your form.
- You can add a Calculation field that shows the entry number.
Here is an example of how to configure the second option:
This field is also set up to be conditionally visible so it will only appear once the entry has been assigned a number.
Finally, we will be releasing support for custom document merging later this month, which will provide full control over generated Word and PDF documents using your rich form data and calculations. We are currently beta testing this feature with a few of our customers.