plugins - Wordpress PWA with Form

Is it possible to use a form in a wordpress pwa.I am using the SuperPWA plugin and have a form on the site, the main f

Is it possible to use a form in a wordpress pwa. I am using the SuperPWA plugin and have a form on the site, the main focus on the site to collect data which is sent to google sheets..works fine. Will I be able capture data if the user is out of connectivity.

Ted

Is it possible to use a form in a wordpress pwa. I am using the SuperPWA plugin and have a form on the site, the main focus on the site to collect data which is sent to google sheets..works fine. Will I be able capture data if the user is out of connectivity.

Ted

Share Improve this question asked May 20, 2020 at 12:32 tbcguytbcguy 31 bronze badge 1
  • That would depend on the form plugin. They would need to be designed to work in a PWA. You should ask the plugin author. – Jacob Peattie Commented May 20, 2020 at 12:37
Add a comment  | 

1 Answer 1

Reset to default 0

By default the service worker does not proxy (cache) POST requests so no, by design, it's not possible. However... More than one PWA do do just this. As one of the comments says, you need to contact the form plugin author for support.

Reference:

https://stackoverflow/questions/35270702/can-service-workers-cache-post-requests

https://developer.mozilla/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742416582a4439860.html

相关推荐

  • plugins - Wordpress PWA with Form

    Is it possible to use a form in a wordpress pwa.I am using the SuperPWA plugin and have a form on the site, the main f

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信