Question about forms and Webhook


I want to make a custom post to a webhook (
My form is build With UIKit stacks.

When I submit the form, I’m redirected to an empty page with response in JSON.
How can I stop this redirection and just show a success message bottom of my form?
Or redirect to a success page?

Thank you