Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Wordpress form (created with Contact Form 7 plugin) submits using Form Capture in D365 for Marketing

Posted on by 85

Hi,

We're currently building a website using wordpress. The developer has chosen to use the 'Contact Form 7' plugin to assist with creating contact forms.

On my end, I'd like to redirect these form submissions into our CRM via the Form Capture tool in D365 for Marketing

https://docs.microsoft.com/en-au/dynamics365/marketing/embed-forms#use-form-capture-to-integrate-a-form-created-externally

I have followed the instructions and 'Visits' are being tracked, however no submissions are coming through.

We get a console error:

"Multiple forms selected by '[action="/shortcodes/#wpcf7-f1735-p85-o1"][method="post"]', falling back to index"

There is only 1 form on the page. The action and method in the above error are in the within the form tag on the page. I suspect Contact Form 7 is overridden by the CRM form capture script but it's hard to tell.

Anyone have any ideas?

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Wordpress form (created with Contact Form 7 plugin) submits using Form Capture in D365 for Marketing

    Hi Joseph,

    From my test for form capture, 

    Submission is fully processed by form capture code,

    there is no need to add action attribute for form tag, it's just a container for your input fields.

    The only work we should focus is that giving all input filds with proper name attributes, and form capture script will detect information via them. (In my form, I gave their name with their match logical name in CRM)

    Please try to remove:

    1. action attribute which may be generated by Contact Form 7 for your form, only id and class attributes are enough.

    2.  any possible script on your page that may controls your form submission behavior.

    3. any other plug-ins or extensions on the form page which may controls your form submission behavior.

    Besides website-tracking code and form-capture code, name attribute of input tag is only required attribute on your form.(and all CSS styles for your elements)

    Regards,

    Clofly 

  • Ondra Svejdar Profile Picture
    Ondra Svejdar 10 on at
    RE: Wordpress form (created with Contact Form 7 plugin) submits using Form Capture in D365 for Marketing

    Hi Joseph, can you share url to your form ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans