Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    Thread Starter zel

    (@zel)

    https://jsfiddle.net/9z8bdh2e/

    Here’s the code… any hints? ??

    Thread Starter zel

    (@zel)

    I think that option would be universal for all contact forms, which uses wp_mail() function to send emails from contact form.

    So, to integrate Contact Form DB with any custom made contact form, simply find it action page or function, which the theme uses to send an email. Find something like this:

    if (wp_mail($to, $subject, $body, $headers)) {}
    That part checks, if wp_mail function arguments are correct and the mail is sent.
    And add inside that if statement:
    if (wp_mail($to, $subject, $body, $headers)) {
    echo do_shortcode(‘[cfdb-save-form-post]’);
    }

    Now the CFDB will correctly capture you form data!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Capture ajax form’ is closed to new replies.