• Resolved Michal Vl?ek

    (@hairywolf)


    Hi, Thanks again for the speed of my previous problems. I have one more request to solve my problem. Within CF7, I use the “wpcf7_before_send_mail” hook, in which I dynamically change some of the form’s data after the form has been successfully sent (with the submit button). I found out that the PDF is generated according to the sent data before the “wpcf7_before_send_mail” hook is executed, therefore the changed data will not be reflected in the generated PDF, which is then sent as an email attachment. Please could you give me a hint how to solve this situation? I have been struggling with this solution for a long time. I did not find another CF7 hook that would allow the data to be changed only after successful validation and submission of the form with the submit button.

    Thank you very much for anything.

    Best regards
    Michal

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Michal Vl?ek

    (@hairywolf)

    Hi, I was wondering if your plugin has a hook that runs before creating the PDF where some data from the form could be changed to generate a unique increment. Subsequently, these changed data are passed back to the Flamingo plugin and CF7 so that the changes are reflected in the body of the email, the PDF and the stored Flamingo data. Is there any possible solution?

    Thank you very much for your help.
    Michal

    Thread Starter Michal Vl?ek

    (@hairywolf)

    Hi, I have already solved the problem with “1” priority of “wpcf7_before_send_mail” hook. I apologize for the inconvenience. I mark this ticket as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘changed form data “wpcf7_before_send_mail” don’t reflected in PDF’ is closed to new replies.