Contact Form 7 Modules
Integrating PDF Hook (1 post)

  1. abehjat
    Posted 2 years ago #

    This is a wonderful plugin. Thank you very much for introducing it.

    I would like to add a PDF hook - based on the hook function, it would be a add_filter - where the data is captured, transformed into PDF from HTML, and then sent to the CRM as an attachment.

    I've used MPDF before (http://www.mpdf1.com/mpdf/index.php). Any recommendations you guys have based on your experience on what modules you would recommend?

    For MPDF, all I need to do is a function as such:

    $mpdf=new mPDF();
    //capture all CF7 Fields into var $html
    $content = $mpdf->Output('', 'S'); //basically, save the output as string
    $content = chunk_split(base64_encode($content)); //to have it emailed

    How can I return the $content to one of the fields or as "Is Value?"

    Thank you,


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Modules
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.