-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tag 'FORM [method=GET]' requires including the 'amp-form' extension JavaScript. #802
Comments
Where is the form coming from? Is it in the post content or is it somewhere else? Is it coming from a shortcode? |
This comes from the following raw html on a page. <form action="[removed]" class="validate" id="mc-embedded-subscribe-form" method="post" name="mc-embedded-subscribe-form" novalidate="" target="_blank">
<div class="input-group" id="mc_embed_signup_scroll">
<input class="email form-control" id="mce-EMAIL" name="EMAIL" placeholder="email address" required="" type="email" value="">
<div>
<input name="[removed]" tabindex="-1" type="text" value="">
</div>
<span class="input-group-btn">
<input class="button btn btn-info" id="mc-embedded-subscribe" name="subscribe" type="submit" value="Subscribe">
</span>
</div>
</form> |
@westonruter Is there a class name that I can apply to this form's containing div to have it ignored for the amp version? Like |
For now, you could add the amp-form extension through a function hooked to the action 'amp_post_template_head', checking for that specific page. |
For forms that are added to to the v0.6 paired mode templates, adding the Otherwise, for forms that are added to the content or for forms that are added to templates in themes that have |
I'm seeing this error being generated on my site.
The tag 'FORM [method=GET]' requires including the 'amp-form' extension JavaScript.
This is from the generated amp html:
The text was updated successfully, but these errors were encountered: