QuForm and MyMail not working

Home Forums Quform WordPress QuForm and MyMail not working

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8967
    lagitech
    Participant

    Hi

    I followed the instruction on how to modify the code to allow quform to post to mymail subscriber list. I added the code to the functions.php at the very bottom of the functions.php and when I fill out the form and click submit I get a pop-up window that just says there was an error.

    running Version 1.4.14 for quforms
    running Version 1.6.5.3 for MyMail

    WP is running version 3.8.1

    This is the modified code that I have checked and rechecked matches the quform ids.

    Any help would be appreciated.

    /*
    * MyMail and Quform Integration
    *
    */
    function mytheme_quform_mymail_subscribe($form)
    {
    if (function_exists(‘mymail_subscribe’)) {
    $fname = $form->getValue(‘iphorm_9_2’); $lname = $form->getValue(‘iphorm_9_1’); $email = $form->getValue(‘iphorm_9_7’); $lists = array(‘overseas’); $doubleOptIn = true;

    mymail_subscribe($email, array(‘firstname’ => $fname, ‘lastname’ => $lname), $lists, $doubleOptIn);
    }
    }
    add_action(‘iphorm_post_process_9’, ‘mytheme_quform_mymail_subscribe’);

    #8974
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy