So I have used Netlify forms a lot in the past and have never run into this issue, in fact ive even tried copying the exact form from other repository and still cant get the Netlify build to detect our contact form for our site. Hoping to get some feedback as to what may be going wrong. Here is a Link to a repo containing the file that the page is on: GitHub - dml0031/NetlifyForm
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, your form name as it exists in the UI, and a link to your live form.
Unfortunately that guide and forums were the first place I looked and ive tried almost all of the suggestions I found… not sure what else to try.
The Form name is just “contact” and a live link to the form is: https://www.fetchmealcohol.com/contact-us
- Create a hidden HTML form with the
data-netlify="true"attribute or a
netlifyattribute and input fields with
divelement in the hidden HTML with the
<input type="hidden" name="form-name" value="name_of_my_form" />
Your site does not have an HTML form:
$ curl -s https://www.fetchmealcohol.com/contact-us | grep -i '<form' || echo "not found" not found
Note, that file doesn’t ever need to be used or viewed by people visiting your site. You can even make a redirect rule to force that file to 404 if someone guesses the URL. The only requirement is:
- There must be an HTML form in the required format in the site’s publish directory after the build completes.
If there are other questions about this, please let us know.