Form submit with CRA and react router

answered
#1

Hi all,
I created SPA website with create-react-app and when i submit my form with provided action="/successMessageSend" attribute to route that is existing and working, after form submit i have right url path but i am still getting default Netlify success message. I did _redirect file to be /* index.html 200, form is submitted fine but still my route is not showing after submit.

Can someone please help me ?
Thanks

#2

I’d suggest that you use a real html file, not a virtual route, if you want a custom thank you page. Could you give that a try and let me know if it works better, please?

#3

I make it work without custom page, i created a modal for thank you message :blush: