If that doesn’t help you find a solution, you’ll see the details we need (which is not your source code :)) to help you proceed with debugging, at the end of the article.
Almost all form troubles that are possible are covered in that article though, and we won’t be able to get back to you too quickly on this, so hopefully that can help you find a solution!
Thanks. I read that post before posting. That’s how I got the default message to work, but now I can’t get my custom message to work. I’ll keep trying, it’s possible I missed something.
Redirect is working, and I’m pretty sure I’ve deployed my own custom thank you page which is “/contact/thanks”, but it still redirects to the default Netlify thank you page. Any tips on troubleshooting?
Just fyi, I’ve already checked this page and I think I’m doing everything it says here.
In the post you reference, we ask some very specific questions at the end of it. Please answer those questions so we can help you troubleshoot from there.
The URL for your live form as you want visitors to use it Bored of Plastic
The URL of your deployed html form (in case you have a javascript form, we need to literally be linked to the html version you’ve deployed as mentioned above - look for “pure javascript”)
Html is posted in my previous message.
The form name that you’ve set and that shows in our UI
Form name is contact.
Any errors or logs from the Netlify build logs, dashboard or browser developer console
I’m not seeing any errors currently.
Description of anything you have tried that did or didn’t help or make things better/worse
I’ve tried changing the action=“/thanks” , action=“contact#thanks” as advised in a different thread but it doesn’t seem to be the solution.
Could you make the action a URL that is not a redirect? Something like action=/ or action=/myfile.html instead of something that is handled by a redirect? It anyway needs to start with a slash, so the second you mention is known to be nonfunctional and that is called out in the doc you linked to:
If you want to show your own content after the POST rather than our generic thank-you page, make sure you include an action=/path parameter in your form definition. ( /path should be the page you want to display - might be “/” or “/thank-you/english.html” - must be either ‘thank-you’ to use our automatic thank you page, or a path starting with / […]