Thank you page works on dev, but not on a live website

Hello Team,

I have a Modal Form which you can get by clicking the Get Progas here – https://protoweb.netlify.app/

On dev, I am able to fill in the details, submit and get my custom Thank you page. But I am getting a page not found(404) on the live website.

I will appreciate any leads which can help me fix this issue.

Here is my code: You can get the form from line 109

My live website:

Thank you

Yup, we have not detected your form at build time, so we will not accept submissions for it.

This article talks about the conditions for us detecting your form (I suspect you’re missing the plain html version of the form :))

You’ll see a form here: https://app.netlify.com/sites/protoweb/forms before we’ll accept submissions for it, so it is the initial detection, not submission, step that is failing thus far!