Home Forums WoodMart support forum Error “This contact form is placed in the wrong place.”

Error “This contact form is placed in the wrong place.”

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #635269

    marco
    Participant

    Hello,

    If I view my page sources, every page is given an Error notification “This contact form is placed in the wrong place.”
    It’s even on pages where I’m not using a Contact Form 7 field.
    My contact forms seem to be functioning normally.
    Do you know what this is related to and how this error can be solved in order to get rid of this message in the page source of all pages?
    Please see attachment for the piece of script or the page source of the pages on my website and search for ‘wrong’.

    Kind regards

    #635279

    marco
    Participant

    I received an error that I’m not allowed to upload a txt file. Please find attached a print screen of that file.

    • This reply was modified 2 weeks ago by marco.
    Attachments:
    You must be logged in to view attached files.
    #635461

    Hello,

    This message appears when a Contact Form 7 shortcode is placed inside another <form> element, which creates invalid HTML and causes errors.

    Make sure the form is not inside another <form> tag.

    Check if any wrapper divs or elements have the wpcf7 class. If so, try removing it or changing it ( from <div class="wpcf7 flex row"> to <div class="flex row">).

    Ensure the form is placed in the correct section, not inside another plugin-generated form.

    If you have any questions feel free to contact us.

    Best Regards

    #636362

    marco
    Participant

    Hello,

    Thank you for you reply, but this goes beyond my expertise and knowledge.
    May I kindly aks you to have a look upon it?

    Kind regards.

    #636473

    Hello,

    That’s definitely a Contact Forms 7 error message. There may be different HTML around it or something similar, see also the plugin documentation: Contact Form 7 documentation: https://contactform7.com/faq/contact-form-placed-in-wrong-place/

    If you have any questions feel free to contact us.

    Best Regards,

Viewing 5 posts - 1 through 5 (of 5 total)