Issues with AJAX form Submittions
-
Hi,
I have been using this plugin for about a week now, and i have had couple of issues, while most of them were easily solvable.
The issue with AJAX is troubling me.
I am using AJAX to save a form. And if form submits successfully I display a banner on top of screen saying “Your Creation has Been Updated”, if the form fails (ajax returns error) “Your Creation Could not be saved is shown”
Since I have been using your plugin this doesnt work. If I open the form, go offline and click save, it still says “Your Creation has been updated”. checking network requests makes it clear that the form wasnt saved, yet it shows it.
I tried to exclude this page, and all other relevant urls our of cache, using a code I found. But that didnt help either.
apply_filters( 'superpwa_sw_never_cache_urls', '/\/wp-admin/,/\/wp-login/,/\/my/,/\/new/,/\/login/,/\/wp-admin/admin-ajax.php/' );
But this does not help either.
Here’s the screen recording, showing what exactly happened, do not
https://drive.google.com/file/d/1sbJzLsg-Rgnw8n8xrkLlEQfj-VaL-RRG/view?usp=sharing
The page I need help with: [log in to see the link]
- The topic ‘Issues with AJAX form Submittions’ is closed to new replies.