Publishing different templates upon different form options.

January 25, 2019 15:06:29
andreabk
Topics: 5
Messages: 12
Hi, I would like that my form ends up in the generation of PDF template "A" if certain options of the form are selected and in PDF template "B" if certain other options are selected. E.g.: if I select "international customer" in the form, then the form should use one particular E2PDF template, if I select "national customer", then the form should use another E2PDF template". How can I do that?
January 25, 2019 16:15:20
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

It's possible to accomplish with Formidable Conditional Statements.

Example:

[e2pdf-download id="[if 723 equals='test']148[/if 723][if 723 not_equal='test']147[/if 723]"]

If 723 Field equals "test" then shortcode will use Template under "ID" 148, If not - 147

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.