changed form data “wpcf7_before_send_mail” don’t reflected in PDF
-
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
- The topic ‘changed form data “wpcf7_before_send_mail” don’t reflected in PDF’ is closed to new replies.