Netlify forms submission cannot use custom success message in React

I deployed a React site with a form using a template. Everything on the site and the form is working fine, except I cannot get the form to use my custom action page and the default Netlify “thank you” message shows no matter what I do.

On form submission the form works, and the page appears to redirect to my custom action="/follow-up" page. It is visible in the URL bar, but the Netlify thank you message still appears. A simple refresh actually loads the page I want.

I have a /public folder with a _redirects file in there with /* /index.html 200 and the direct linking on the site is working fine.

Form is built and working with a simple action="/follow-up" and I can see on the site everything is working.

Decise - Technical Management Consultancy ← this is the form
Decise - Technical Management Consultancy ← this in the custom success message

Sorry if you’ve already been over the docs, but does your action param value start with a /, like so?


(taken from Forms setup | Netlify Docs)

Hi Phil, thanks for replying. I have read every doc under the sun and yes my action="/follow-up"

you can see the page live:

Hiya, sorry you are having trouble getting your forms to work.

This Support Guide is the first port of call to debug any forms issues. Please start here and work through these resources!

We also recommend trying to search the forums or look at topics tagged Netlify forms if you haven’t already - it’s likely your question was already asked by someone else!

If you are still having problems, please provide more information such as what you have already tried, and a link to your live form. :slight_smile: