How to use view and download shortcodes ?

Formidable Forms
24 March, 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.
24 March, 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
24 March, 2022 23:17:03
E2Pdf
Support
Topics: 7
Messages: 3345
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!
25 March, 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
25 March, 2022 08:25:02
E2Pdf
Support
Topics: 7
Messages: 3345
[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!
25 March, 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