How to use view and download shortcodes ?

Formidable Forms
March 24, 2022 11:41:53
William4567
Topics: 3
Messages: 8
Hi

on submit message I wrote this:

Your responses were successfully submitted. Thank you!
[e2pdf-view id="[26]" dataset="[id]"]

and tried also:
download: [e2pdf-download id="[26]"]

where 26 is the id of radio button field and should all option evaluate to "1" but I get only the message no pdf.
March 24, 2022 13:49:24
William4567
Topics: 3
Messages: 8
I tested more and found I get the label not the value, will contact form support
March 24, 2022 23:17:03
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

You can try to use:

[e2pdf-download id="[26 show=value]"]
[e2pdf-view id="[26 show=value]"]

However if you are using Formidable Forms PRO it's highly recommended to use Conditional Statements as:

[if 26 show=value equals="1"][e2pdf-download id="1"][/if 26]
[if 26 show=value equals="2"][e2pdf-download id="2"][/if 26]

P.S. You are using shortcodes inside "Success Message" so dataset="[id]" is not mandatory.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
March 25, 2022 08:22:28
William4567
Topics: 3
Messages: 8
tried to get the value using ID like that [26 show=”value”] but I get the label instead , I need to get the separate value
March 25, 2022 08:25:02
E2Pdf
Topics: 7
Messages: 3617
Support
[26 show="value"] must output exactly the separate "value" regarding Formidable Forms documentation:

https://formidableforms.com/knowledgebase/checkboxes-radio-buttons/#kb-display-checkbox-and-radio-fields



We would really appreciate your feedback at WordPress.org!
March 25, 2022 08:59:18
William4567
Topics: 3
Messages: 8
I found the problem I should not use " " with value correct syntax is

[e2pdf-view id="[26 show=value]"]

many thanks for you
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.