Netlify form submission just refreshes page. Astro Js framework

The site with this issue is: https://pcjtours.kiwi/

Usually with my other Astro JS sites, I can just add the netlify data attribute and a name and netlify will handle the rest. Then recently I found that I had to add method=“post”. But in this instance, nothing seems to work. I even added the hidden field but to no avail. Any help appreciated, cheers.

@AwesomeJackify Did you..

  1. Enable form detection & redeploy the site after doing so?
    https://docs.netlify.com/forms/setup/#enable-form-detection

  2. Check your ‘build log’ to see if the form has been detected?
    (You should also see it under ‘Forms’ for the site in the Netlify UI)

  3. Ensure the POST is to a static route, (not a route being handled by SSR etc)

The fix was that my action page was SSR. Thanks

@AwesomeJackify Great, glad you got it going.

But claiming you ‘self solved’ by marking your own post as the ‘answer’ is a bit of a stretch, since I directly gave you the answer of what to check (amongst several possible issues).