FIX The mandatory attribute 'target' is missing in tag 'FORM [method=GET]'. & Custom JavaScript AMP ERROR

amp

#1

Im getting The mandatory attribute ‘target’ is missing in tag ‘FORM [method=GET]’ below error for |https://web1expert.com/amp/|

<form action="https://web1expert.com" method="get">
<label class="screen-reader-text" for="cat">Our Portfolio</label>
<select name="cat" id="cat" class="postform">
<option value="-1">Select Category</option>
<option class="level-0" value="11">All Articles Samples</option>
<option class="level-0" value="1">All Graphics Project</option>
<option class="level-0" value="16">Blog</option><option class="level-0" value="5">Brochure</option>
<option class="level-0" value="212">Business Articles Samples</option>
<option class="level-0" value="22">Cryptocurrency</option>
<option class="level-0" value="23">Digital Packet</option>
<option class="level-0" value="24">Flyers</option>
<option class="level-0" value="17">Google QnA</option>
<option class="level-0" value="203">Health Articles Samples</option>
<option class="level-0" value="6">Logo</option>
<option class="level-0" value="210">Our Hindi Articles Samples</option>
<option class="level-0" value="204">Our Media Articles Samples</option>
<option class="level-0" value="12">Our Review Articles Samples</option>
<option class="level-0" value="13">Our Social Media Articles Samples</option>
<option class="level-0" value="26">Our Videos Project</option>
<option class="level-0" value="10">Our Website Project</option>
<option class="level-0" value="53">SEO</option>
<option class="level-0" value="8">Social Media</option>
<option class="level-0" value="4">Standee</option>
<option class="level-0" value="15">Tech Articles Samples</option>
<option class="level-0" value="74">Tech QnA</option>
<option class="level-0" value="73">Technology Guide</option>
<option class="level-0" value="72">Webdesign QnA</option>
<option class="level-0" value="46">Wordpress</option>
</select>
</form>
<script type="text/javascript">

Custom JavaScript is not allowed ERROR BELOW FOR https://web1expert.com/amp/

<script type="text/javascript">

Crawl issue ERROR  FOR http://share-ask.com/

#2

The advantage of using AMP is that it is very fast at rendering “above the fold” text, images, videos, etc. This is achieved by restricting JavaScript so that only proprietary tried and tested routines may be used.

Your JavaScript fails AmpProject validation and prevent the use of Google’s Free CDN caching and their preferential treatment for mobile SEO.

Checkout AmpByExample.com to see if there are any suitable tried and tested scripts available which satisfy your requirements.


#3

And what exactly is your question?


#4

amp validator is giving error he mandatory attribute ‘target’ is missing in tag ‘FORM [method=GET]’.

<form action="https://web1expert.com" method="get">
<label class="screen-reader-text" for="cat">Our Portfolio</label>
<select name="cat" id="cat" class="postform">
 <option value="-1">Select Category</option>
 <option class="level-0" value="11">All Articles Samples</option>
 <option class="level-0" value="1">All Graphics Project</option>
 <option class="level-0" value="16">Blog</option>
 <option class="level-0" value="5">Brochure</option> 
 <option class="level-0" value="212">Business Articles Samples</option>
 <option class="level-0" value="22">Cryptocurrency</option>
 <option class="level-0" value="23">Digital Packet</option>
 <option class="level-0" value="24">Flyers</option>
 <option class="level-0" value="17">Google QnA</option>
 <option class="level-0" value="203">Health Articles Samples</option>
 <option class="level-0" value="6">Logo</option>
 <option class="level-0" value="210">Our Hindi Articles Samples</option>
 <option class="level-0" value="204">Our Media Articles Samples</option>
 <option class="level-0" value="12">Our Review Articles Samples</option>
 <option class="level-0" value="13">Our Social Media Articles Samples</option>
 <option class="level-0" value="26">Our Videos Project</option>
 <option class="level-0" value="10">Our Website Project</option>
 <option class="level-0" value="53">SEO</option>
 <option class="level-0" value="8">Social Media</option>
 <option class="level-0" value="4">Standee</option>
 <option class="level-0" value="15">Tech Articles Samples</option>
 <option class="level-0" value="74">Tech QnA</option>
 <option class="level-0" value="73">Technology Guide</option>
 <option class="level-0" value="72">Webdesign QnA</option>
 <option class="level-0" value="46">Wordpress</option>
 </select>
 </form>
 <script type="text/javascript">

Custom JavaScript is not allowed ERROR BELOW FOR https://web1expert.com/amp/

<script type="text/javascript">


Crawl issue ERROR BELOW FOR http://share-ask.com/amp/ 

#5

Give this page a read

target

A name or keyword indicating where to display the response that is received after submitting the form. …


#6

Yes, you said so. And it’s missing alright.
But that’s not a question. What is your question? What is it you don’t understand about that error message?


#7

I need better AMP plugin to fix this error