September 17, 2015 at 3:07 am #1927PietGuest
I have made a normal form with multiple entries, i have managed to connect some entries to different pdf-files, this works perfectly. But when i submit, he downloads (when i choose the automatic option) every pdf in this form. Is there a way to manage this only for the entry which i filled in (see example below)?
This is the html wich i filled in the ‘On Submit’ button:
[formidable-download form=”sccd9i633″ dataset=”[id]” layout=”34,35″ =”auto”]
The part of “34,35” is not good, is it possible to mannage this in some code?
I’m looking forward to your answer!September 17, 2015 at 6:59 am #1931
I think you can do what you are asking without any further programming to the plugin. But, I need a little more information to answer your question correctly.
Can I log into your installation to see more? If so, please email a temp login to support AT formidablepro2pdf DOT com. If not, then please email 2 or 3 PDF forms and a link to the Formidable Form.December 4, 2015 at 11:08 am #4125SharonGuest
I am interested in the solution to this question. I want to have one form fill out 2 pdf files, but either or both depending on the form answers.
For instance, one part of the form will complete PDF A, another part of the form will complete PDF B. Either part can be skipped in the form. So I only want to attach the PDF if it has answers.
Thanks.December 4, 2015 at 11:55 am #4128
You’ll need to make the shortcode’s LayoutID dynamic here’s an example where the values of Formidable radio button field  are equal to a corresponding LayoutID using the field’s “Use separate values” option…
[formidable-download form=”contact2″ dataset=[id] layout=]
Where the above field  is a YES/NO radio button using the “Use separate values” and the YES value is x and the NO value is y; x is the ID of PDF A and y is the ID of PDF B
Or you can make it even more dynamic using a Formidable Conditional Statement like this…
[formidable-download form=”contact2″ dataset=”2128″ layout=[if 125 equals=”YES”]”xx”[/if 125][if 200 equals=”YES”]”yy”[/if 200]]
Where the field =YES then layout=xx OR if field =YES then layout=yy
December 29, 2015 at 5:22 am #5041SharonGuest
- This reply was modified 6 years, 1 month ago by admin.
Thanks. One more question. If both radio buttons are clicked so that 125 and 200 both = YES will I be able to merge both PDFs and attach both to the notification email?December 29, 2015 at 11:29 am #5048
The functionality you require is possible, but would require the entire shortcode to be dynamic, not just the LayoutID.
… something like (if field =YES then [SHORTCODE]).December 31, 2015 at 11:00 am #5151SharonGuest
Will both PDFs be attached to the email or are you referring to download links. I prefer being attached because our Accounting department will save the email and all attachments together for future reference.
Once again, great support.December 31, 2015 at 11:35 am #5152
I was referring to download links with the shortcode suggestion. However, the 2.0 version of the plugin all merged pdfs with “Attach file to Email notifications” selected in the Field Map Layout will attach to all selected “Email Actions”.December 31, 2015 at 12:07 pm #5155SharonGuest
So, I would add a second dataset to the form and map the fields and check the box “attach file to email notification” and when the form is completed, both PDF documents will be attached to the email that is generated from the form. Correct?
Another question. In order for the merge to work the form entries have to be saved. Is there a way to automatically delete the entry after the form has been merged and emailed? I really don’t want a set of entries that will continue to grow unless manually deleted.
Happy New YearDecember 31, 2015 at 1:12 pm #5162
2. After the 2.0 version update, PDF’s are merged and the attachement is sent when the “Do not store entries submitted from this form” is selected in the form’s settings.
- The topic ‘The use of more than one pdf in one form – problems with the download link!’ is closed to new replies.