Conditionally create pdf

Formidable Forms
March 04, 2020 19:25:30
benadam
Topics: 5
Messages: 15
Is it possible some how to make a condition to create or not create the pdf file after formidable send? For example if value of field x is y don't create the pdf at all.

Thanks!
March 05, 2020 06:43:58
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

You must be able to use standard logic of Formidable Forms without any issues inside "Success Message"/"Email Body" Message for example:

[if 25 equals="Option 1"][e2pdf-download id="208"][/if 25]

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 05, 2020 06:51:49
benadam
Topics: 5
Messages: 15
Thanks. Yes i'm aware of that option, but will it disable the pdf creation when the form is sent? or will the pdf file be created only not attached?
March 05, 2020 07:21:54
E2Pdf
Topics: 7
Messages: 3617
Support
[e2pdf-download] just generates link which will generate PDF based on entry data on each new request of this link. PDF will not be saved anywhere. If you need to save PDF you must use [e2pdf-save] shortcode. For attachments to emails must be used [e2pdf-attachment] shortcode. Shortcode will generate PDF based on entry data, will send it via email and will remove generated PDF from server.

P.S. With Formidable Forms condition above shortcode will not fire if Field ID 25 will not meet condition.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 05, 2020 08:06:57
benadam
Topics: 5
Messages: 15
Thank you very much for clarifying! you are providing a great plugin and amazing support! i wish i could left more than one review on Wordpress :)
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.