WordPress.org

Forums

Contact Form by BestWebSoft
[resolved] Get filled form before send email (2 posts)

  1. Fredro
    Member
    Posted 1 year ago #

    Hello
    I'm need getting filled form in html before send email.
    I,m using this code:
    add_action('wpcf7_before_send_mail', 'create_pdf_file_and_send_it');

    function create_pdf_file_and_send_it($cf7) {

    if ($cf7->id == 315) {

    $cf7->skip_mail = true;

    echo $cf7->form_html(array(
    'html_id' => '315',
    'html_name' => 'formularz-1',
    'output' => 'form'));
    }
    }

    but i'm getting empty html form.
    Sorry from my english is not perfect.
    Thanks for help me.

    https://wordpress.org/plugins/contact-form-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    If you have a question concerning the work of Contact From 7 - unfortunately, it is not our plugin, please contact its developers with your question.

    Sincerely,
    BestWebSoft Support Team

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.