Sequential order number on pdf formidable forms

Formidable Forms
January 27, 2023 06:48:56
SDW10
Topics: 2
Messages: 6
Hi,
I would need a sequential number to be added in 2 e2pdf-templates.
I am using formidable forms and once a customer purchases something several templates are triggered to send pdfs. For each purchase a sequential number should be added to 2 templates (same number).
Can you help please?
many thanks!
January 27, 2023 08:15:11
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

You can use [id] of entry inside E2Pdf Template or you can create a "Hidden" field inside Formidable Forms form with default value as: [auto_id start=1]: https://formidableforms.com/knowledgebase/using-dynamic-default-values-in-fields/#kb-automatically-increment-an-id

We remain at your service.

We would really appreciate your feedback at WordPress.org!
January 27, 2023 08:20:40
SDW10
Topics: 2
Messages: 6
Hi,
yes, I was working with that. problem is, whenever a purchase is not finished or cancelled this unique number is deleted or blocked. My customer requires these sequential numbers not to be skipped.
I am looking therefore for something similar you posted some time ago...topic was "Sequential order number divi form for pdf" (29 November, 2020 16:04:59). I would need something similar...
Thanks!
January 27, 2023 08:56:18
E2Pdf
Topics: 7
Messages: 3617
Support
If the [auto_id start=1] doesn't fit your needs, then you need to use Formidable Forms PHP hooks to create/modify hidden field value on submission, for example: https://formidableforms.com/knowledgebase/frm_validate_field_entry/#kb-change-the-value-in-a-field.

Unfortunately, we do not have a PHP snippet, however, you will need to get the latest entry hidden saved incremental value and set it +1 at the moment of submission.

We would really appreciate your feedback at WordPress.org!
January 27, 2023 09:49:08
SDW10
Topics: 2
Messages: 6
Many thanks for hinting to a potential solution...
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.