I would like to add the date of completion to the PDF. I don't have in formualr the date or anything related to it.
Is there a code to bring the current date?
Also I would like to add a progressive number with a prefix, is it possible ? Ex Invoice-1112, Invoice-1113 etc
31 March, 2025 01:48:01
E2Pdf
Support
Topics: 7
Messages: 3574
Hello,
If it's necessary to output the date of the PDF generation, the shortcode can be used as follows:
As for the progressive number, unfortunately, only the {submission_id} field slug or the [e2pdf-dataset] shortcode can currently be used. These are linked to the Entry ID number and increment across all forms.
If you need a local form-specific incremental number, unfortunately, E2Pdf and Forminator do not provide this functionality by default. Implementing it would require custom PHP coding to generate, retrieve, and store the incremental number in a hidden entry field upon submission.
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according our to our Cookie Policy.