• Resolved Max

    (@max2k)


    Hello,

    I’m using the latest version of WordPress, AMP plugin (Standard Mode), WPForms lite
    I have a contact form on a page. The issue is that after I hit the “Submit” button, the text on it stays at “Sending”.
    The message is sent ok.

    Any idea what can be the cause?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Max

    (@max2k)

    I just now read the support policy..

    >>Provide the URL where the form is embedded or the issue is occurring.
    Here it is https://www.plothost.com/contact/

    Hello @max2k,

    Thanks for contacting us!

    It appears that the you might be using caching plugin and JS minification is enabled as it seems that the browser validation is taking over form validation. In case it helps, here’s a screencast that you can take a look.

    When you have sometime, could you please try disabling JS minification and test the form again?

    Thanks, and please let me know how it goes!

    Dzi?kuj? za odpowied?.

    U?ywam WPRocket. Nie mam w??czonej minifikacji JS. Mam w??czone jedynie ?adowanie JS deferred. Ale po wy??czeniu tej opcji i próbie instalacji nadal jest ten sam problem. Po wy??czeniu wtyczki w trybie odzyskiwania wraca funkcjonalno?? strony.

    Thread Starter Max

    (@max2k)

    @marcinokmagazyn – I think you posted in the wrong topic

    @prashantrai – Thanks for the answer. I’m using W3 Total Cache. I disabled the plugin and tried again. It’s the exact same issue.
    After I click the Submit button, I see an error appearing in the console window:

    log.js:258 [amp-form] Failed to parse response JSON: SyntaxError: Unexpected token < in JSON at position 0

    The issue seems to be an incompatibility with the OceanWP theme.
    I’ve tested some themes on a clean installation – plugins installed: wpforms lite and AMP:

    OceanWP, GeneratePress – Not working
    TwentyTwenty, Astra, Neve, Go – Working

    Thanks.

    Hello @max2k,

    I apologize for the trouble!

    I’ll see if I’m able to replicate the issue on my end in dev setup. However, in the mean time, could you please reach out to the theme support team to see if they can give you some inputs?

    Thanks!

    Thread Starter Max

    (@max2k)

    I’ve marked this as Resolved. I will not insist on this.

    There is an article online and OceanWP recommends Transitional Mode. I wanted to use Standard Mode. Maybe this is the cause of the issue.
    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘AMP issue’ is closed to new replies.