IMPORTANT UPDATE: Please DOWNLOAD and update the Formidable PRO2PDF to the Latest Version!

The use of more than one pdf in one form – problems with the download link!

Home Forums Pre-Sale The use of more than one pdf in one form – problems with the download link!

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1927
    Piet
    Guest

    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!

    #1931
    admin
    Keymaster

    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.

    #4125
    Sharon
    Guest

    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.

    #4128
    admin
    Keymaster

    You’ll need to make the shortcode’s LayoutID dynamic here’s an example where the values of Formidable radio button field [125] are equal to a corresponding LayoutID using the field’s “Use separate values” option…

    [formidable-download form=”contact2″ dataset=[id] layout=[125]]

    Where the above field [125] 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 [125]=YES then layout=xx OR if field [200]=YES then layout=yy

    • This reply was modified 8 years, 11 months ago by admin.
    #5041
    Sharon
    Guest

    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?

    #5048
    admin
    Keymaster

    The functionality you require is possible, but would require the entire shortcode to be dynamic, not just the LayoutID.

    … something like (if field [200]=YES then [SHORTCODE]).

    #5151
    Sharon
    Guest

    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.

    #5152
    admin
    Keymaster

    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”.

    #5155
    Sharon
    Guest

    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.

    Thanks.
    Happy New Year

    #5162
    admin
    Keymaster

    1. Correct.

    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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘The use of more than one pdf in one form – problems with the download link!’ is closed to new replies.