Populate a field with a number that increments +1 each time a form is completed.

Divi Forms Released
November 09, 2019 18:14:28
ionutsabo
Topics: 3
Messages: 8
Hi, great plugin, by the way.

I have a template pdf that's working just fine. I just wanted to find a way to add a number on the pdf that will increase by 1 each time the form is completed. It would work as the number of the document. It's an invoice that I would need it to show a number. Let's say we start the counting from 12, and then increase by 1 for each new client. is there a way to do this?

Thank you in advance.
November 09, 2019 19:12:17
E2Pdf
Topics: 7
Messages: 3614
Support
Hi, thank you.

Unfortunately, it's not possible at this moment for WordPress extension, as E2Pdf currently working only with prepared data. As a solution it can be created custom shortcode which will output needed data depending on your needs. It will require some coding to fit your needs.

More easier way can be solution to use forms plugins compatible with E2Pdf. For example, Formidable Forms will allow you to output Entry ID in PDF, which is increasing on each form submission.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
November 09, 2019 19:13:30
ionutsabo
Topics: 3
Messages: 8
Oh, so sorry,

I think I wrongly tagged the question under Wordpress.

I am using Divi contact forms.

Does this help?
November 09, 2019 19:24:09
ionutsabo
Topics: 3
Messages: 8
Actually the current dataset number would be ideal to have filled in on the pdfs. Is that possible?
November 10, 2019 08:31:44
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

Unfortunately it's not supported in current version for Divi extension as it doesn't save entries by default and it's done by E2Pdf. Entry ID output and Referer will be available withing next update. If you do not want to wait, please download updated extension in attachment.

To update it on your website:
1. Unzip file
2. Upload it and replace "e2pdf-divi.php" via FTP at /wp-content/plugins/e2pdf/classes/extension/

It will be available 2 new shortcodes:

%%_wp_http_referer%% - will output referer which must solve issue with detecting on which page form was submitted.

%%e2pdf_entry_id%% - will output Entry ID that is used for PDF generation

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

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 to our Cookie Policy.