• Resolved squeebo

    (@squeebo)


    I have the below form in a widget area, and it’s not showing up. Regular html shows up fine. I have confirmed that the amp-form element is included in the head of the AMP page.

    <form method="post"
        action-xhr="https://app.getresponse.com/add_subscriber.html"    target="_top">
    		<p style="font-weight:bold;">Get new blog posts & special alerts!</p>
        <fieldset>
          <label>
            <span>Email:</span>
            <input type="email"
              name="email"
              required>
          </label>
    	<input type="hidden" name="campaign_token" value="xxxxx">
    	<input type="hidden" name="custom_origin" value="AMP_footer">
    	<input type="hidden" name="start_day" value="0">
          <input type="submit"
            value="Join">
        </fieldset>
        <div submit-success>
          <template type="amp-mustache">
            You are now signed up!
          </template>
        </div>
        <div submit-error>
          <template type="amp-mustache">
            Subscription failed
          </template>
        </div>
      </form>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please share your website URL? So we can analyze it and help you fix the issue for you.

    Thread Starter squeebo

    (@squeebo)

    Thanks for the reply! Here is a temporary link to a sample AMP page on my site. It will expire in 1 day.
    https://www.temporary-url.com/402
    I have the form tag in the AMP Footer widget area as a Custom HTML widget. The code shows up in the “footer” class DIV of this page if I have other html or text instead of the form tag, or outside the form tag.
    Edit: Oops I meant form tag, not script tag. Not trying to use a script.

    • This reply was modified 4 years, 7 months ago by squeebo. Reason: fixed wording
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. Currently, the custom form is not supported in AMP. So the form is not working on your site. This feature will be implemented in our future updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘forms don’t display’ is closed to new replies.