merge 2 datasets for email attachment

Formidable Forms
February 13, 2023 06:22:47
SDW10
Topics: 2
Messages: 6
Hi,
I have seen that it is possible to select 2 different formidable forms on a template. Visual mapper works fine - I can see both forms and the fields. However, if I use the attachment-shortcode to send a merged pdf by email only one dataset is shown.

Can you help please.
Many thanks
Christoph
February 13, 2023 06:34:31
SDW10
Topics: 2
Messages: 6
Hi,
an addition to my request...
I have seen on your site Formidable to PDF the following shortcode:
[e2pdf-frm-entry-values id="form_id" field_id="field_id"] - Dynamic field value of another form
Usage: [e2pdf-frm-entry-values id="123" field_id="12"]
Should this still work? (I tried without success). I just need to pull the value of one field from another form to my template...
Thanks
Christoph
February 13, 2023 06:48:12
E2Pdf
Topics: 7
Messages: 3614
Support
Hi,

E2Pdf can't know which 2nd dataset must be used, so the submitted entry must have a link to the 2nd Entry ID. For example, it can be Dynamic Field: https://formidableforms.com/knowledgebase/dynamic/, and the shortcode will look like this:

[e2pdf-attachement id="1" dataset="[id]" dataset2="[123 show=id]"]

* where "123" is the Dynamic Field ID.

Or if you can pull out the 2nd Entry ID which must be used inside E2Pdf Template in "hidden" field:
[e2pdf-attachement id="1" dataset="[id]" dataset2="[123]"]

* where "[123]" must output 2nd Entry ID.

Another possible way:

If you have all users logged in to submit the form, you do not need 2 Forms E2pdf Template, you can try to use shortcodes inside E2Pdf Template or in a hidden field in the main form as:

[frm-field-value field_id=123 user_id=current]

https://formidableforms.com/knowledgebase/get-a-value-from-an-entry/#kb-usage

P.S. [e2pdf-frm-entry-values id="123" field_id="12"] - must output ALL data from all entries and not the "single" entry.

We would really appreciate your feedback at WordPress.org!
February 13, 2023 08:00:02
SDW10
Topics: 2
Messages: 6
thanks for your quick reply. The P.S. hint seems to be promising, I did not realize that it must be a hidden field...
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.