Serveraction refreshes page after form submit
Unanswered
Polar bear posted this in #help-forum
Polar bearOP
Hi All,
I have been trying to use Server actions to submit forms and process formdata to a backend. This has been succesfull and it works great. However, when i submit the form it causes a page refresh.
My form is in a popup window, so if i submit the page the popup window is gone. Anyone knows if i need to do something different to not refresh the page after form submit?
I have been trying to use Server actions to submit forms and process formdata to a backend. This has been succesfull and it works great. However, when i submit the form it causes a page refresh.
My form is in a popup window, so if i submit the page the popup window is gone. Anyone knows if i need to do something different to not refresh the page after form submit?
1 Reply
African Slender-snouted Crocodile
This (somewhat) recent part of the discussions channel might give some insight: https://discord.com/channels/752553802359505017/752647196419031042/1298121445880107059
There's also a workaround given there.
There's also a workaround given there.