The mandatory attribute ‘target’ is missing in tag ‘form’.

#639317
  • Resolved Carolina
    Rank Math free

    Hi, I’m not a developer. So, I don’t know what to do here.

    This is the message Google Search Console Give Me:
    The mandatory attribute ‘target’ is missing in tag ‘form’.

    When I click on it, I seel this part in pink and I see I can edit this code but I don’t know what to put in.

    https://thebeachgardenshop.com/amp/

    The mandatory attribute ‘target’ is missing in tag ‘form’.

    <form class=”dgwt-wcas-search-form” role=”search” action=”https://thebeachgardenshop.com/&#8221; method=”get”> <div class=”dgwt-wcas-sf-wrapp”> <label class=”screen-reader-text” for=”dgwt-wcas-search-input-2″>Products search</label> <input id=”dgwt-wcas-search-input-2″ type=”search” class=”dgwt-wcas-search-input” name=”s” value=”” placeholder=”Search for products…” autocomplete=”off”> <div class=”dgwt-wcas-preloader”></div> <div class=”dgwt-wcas-voice-search”></div> <button type=”submit” aria-label=”Search” class=”dgwt-wcas-search-submit”> <svg class=”dgwt-wcas-ico-magnifier” xmlns=”http://www.w3.org/2000/svg&#8221; width=”18″ height=”18″ viewbox=”0 0 18 18″> <path d=” M 16.722523,17.901412 C 16.572585,17.825208 15.36088,16.670476 14.029846,15.33534 L 11.609782,12.907819 11.01926,13.29667 C 8.7613237,14.783493 5.6172703,14.768302 3.332423,13.259528 -0.07366363,11.010358 -1.0146502,6.5989684 1.1898146,3.2148776

    And this other page

    https://thebeachgardenshop.com/about-perfection-in-handmade-work-just-a-hidden-fear-of-failure/amp/

    The mandatory attribute ‘target’ is missing in tag ‘form’.

    <form class=”dgwt-wcas-search-form” role=”search” action=”https://thebeachgardenshop.com/&#8221; method=”get”> <div class=”dgwt-wcas-sf-wrapp”> <label class=”screen-reader-text” for=”dgwt-wcas-search-input-2″>Products search</label> <input id=”dgwt-wcas-search-input-2″ type=”search” class=”dgwt-wcas-search-input” name=”s” value=”” placeholder=”Search for products…” autocomplete=”off”> <div class=”dgwt-wcas-preloader”></div> <div class=”dgwt-wcas-voice-search”></div> <button type=”submit” aria-label=”Search” class=”dgwt-wcas-search-submit”> <svg class=”dgwt-wcas-ico-magnifier” xmlns=”http://www.w3.org/2000/svg&#8221; width=”18″ height=”18″ viewbox=”0 0 18 18″> <path d=” M 16.722523,17.901412 C 16.572585,17.825208 15.36088,16.670476 14.029846,15.33534 L 11.609782,12.907819 11.01926,13.29667 C 8.7613237,14.783493 5.6172703,14.768302 3.332423,13.259528 -0.07366363,11.010358 -1.0146502,6.5989684 1.1898146,3.2148776

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    The error you’re referring to is related to the AMP plugin you are using:
    https://search.google.com/test/amp/result?id=hVEYRzyYy5u-tdoRoDfu0w

    In this case, you may need to get in touch with their developer to help you add the tag to your site.

    Hope that helps.

    Thank you.

    Thank you very much!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘The mandatory attribute ‘target’ is missing in tag ‘form’.’ is closed to new replies.