Publishing different templates upon different form options.

25 January, 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?
25 January, 2019 16:15:20
E2Pdf
Support
Topics: 7
Messages: 3335
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!