Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @saznajnovo,

    thanks for your follow up.

    Have you tried it, without the action attribute in the form? Is it working?
    I mean, you are totally right, the action parameter is totally optional there, so it can be removed for now.

    Best regards,
    Patrick

    Thread Starter saznajnovo

    (@saznajnovo)

    Hi @patrickposner Yes, I removed it and that part works without any problem! But, there is AMP problem I mention here https://ww.wp.xz.cn/support/topic/amp-support-31/#post-11319415
    I found what is problem, and it is not front-end but back-end. You didn’t implement in PHP function to “catch” AMP form post request and return data in json format. Also, you didn’t add AMP headers (cors issue and amp-redirect – https://stackoverflow.com/a/48295620). So, as temp fix I coded separated plugin to “glue” amp form and your plugin. That plugin is made specific for my problem, but I can send you source code if you want to integrate solution in your plugin.

    • This reply was modified 7 years, 2 months ago by saznajnovo.

    Hey @saznajnovo,

    a copy of the separate plugin would be great.
    Could you send it as a zip/tar to: [email protected]?

    Then I can add the modifications in the next support release, that I’m currently working on.

    Thanks for your deep-dive on the problem!

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

The topic ‘Invalid AMP parameter “action”’ is closed to new replies.