Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Team,


    //Below function used to create boldid account and opportunity when submit the Schedule demo or request quote

    function on_submit($form, &$abort, $submission){ $submission = WPCF7_Submission::get_instance();

    $wpcf7 = WPCF7_ContactForm::get_current();

    $posted_data = $submission->get_posted_data();

    add_filter(‘wpcf7_verify_nonce’, ‘__return_true’);

    if ($form->ID() == 47037 || $form->ID() == 41939) {

    $bold_api_data = array( “FirstName” => $posted_data[“FirstName”], “LastName” => $posted_data[“LastName”], “Email” => $posted_data[“Email”], “Contact” => $posted_data[“Phone”], “Company” => $posted_data[“Company”], “Origin” => (int)$posted_data[“Origin”], “PolicyConsentOriginId” => (int)$posted_data[“PolicyConsentOriginId”], “ProductConsentId” => (int)$posted_data[“ProductConsentId”] );

     …

    is it fine to add wpnonce filter at mentioned place?

    we have added at the end of function php file eventhough the csrf issue was reported, please guide us with this issue to resolve.

    errorPlacement: function(error, element) {
    ? element.after(error);
    }
    });
    });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'blogpost_comment_validation');
    add_filter('wpcf7_verify_nonce', '__return_true');
    ?>
    Thread Starter pavithrarajulu

    (@pavithrarajulu)

    Even on allowing in optimize this file path, it shows in google page speed insights tool –?https://ibb.co/wMhBdqT.
    its not rectifying. what should be the process?

    will the cache increase on allowing to optimize?

    Thread Starter pavithrarajulu

    (@pavithrarajulu)

    Hi Takayuki Miyoshi ,

    Is there any mail support to share links?

    Regards,
    Pavithra Rajulu.

Viewing 3 replies - 1 through 3 (of 3 total)