• Hi,
    We have a requirement for merging PDFs with gravity forms.

    We don’t want to merge PDF at the time gravity form submission. We want to merge PDF if an admin updates any entry field value in gravity form in the admin section. We need to save this information in the s3 bucket after merging.
    Can anyone explain how can we achieve this behavior with E2Pdf?
    ( we are creating a custom plugin for achieving this functionality)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Oleksandr

    (@oleksandrz)

    Hi,

    Unfortunately E2Pdf can’t merge PDFs at this moment. It can only fill data to pre-made uploaded mapped PDF or created E2Pdf Template directly.

    We remain at your service.

    Thread Starter pradeepyld

    (@pradeepyld)

    Hi,

    Thank you for your response.

    Can we achieve this behavior with the following option?

    We implemented 8 templates for 8 gravity forms and it is merging correctly when the form is submitted. Need to update one of the mapped pdf values when admin updates the corresponding gravity entry field in the admin section and save updated PDF in locally

    • This reply was modified 4 years, 6 months ago by pradeepyld.
    • This reply was modified 4 years, 6 months ago by pradeepyld.
    • This reply was modified 4 years, 6 months ago by pradeepyld.
    • This reply was modified 4 years, 6 months ago by pradeepyld.
    Plugin Author Oleksandr

    (@oleksandrz)

    Hi,

    You must use [e2pdf-save] shortcode, it can be used inside “Success Message” or “Email Notification”, however Gravity Forms doesn’t allow fire events on entry update so you must be able to use hook example to save/overwrite PDFs: https://codeshare.io/GARXKw

    In example above it will save PDF if value (Field ID 8) will be changed inside entry. It will be saved under: /wp-content/uploads/e2pdf/tpl/{Template ID}/save/{Entry ID}.pdf

    * it’s recommended to change path or name to avoid access from the web with changing “dir” or “name” attribute.

    Regarding updating value inside PDF, you must be able to use “Actions” and “Conditions” inside E2Pdf Template to change value: https://imgur.com/a/0uHzk75.

    We remain at your service.

    Thread Starter pradeepyld

    (@pradeepyld)

    Hi,

    when am printing the output of below shortcode it is not giving any output. I expected the path of saved PDF and pdf also not saving in the upload pdf/temp folder. Can you explain what could be the reason? (template also activated)

    echo do_shortcode(‘[e2pdf-save id=”4″ dataset=’143′ name=”143″ apply=”true”]’);

    • This reply was modified 4 years, 6 months ago by pradeepyld.
    Plugin Author Oleksandr

    (@oleksandrz)

    Recheck if you correctly set template id, dataset and E2Pdf template is activated. Also keep attention on quotes. It must be ‘single quote’ over whole shortcode and only “double quotes” inside this ‘single quotes’.

    You can output path with this modification of shortcode:

    echo do_shortcode('[e2pdf-save id="4" dataset="143" name="143" output="path" apply="true"]');

    We remain at your service.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Merge PDF with Gravity Form in Admin page’ is closed to new replies.