Static HTML Form not recognized

I am trying to deploy a simple static HTML Form from Github, but it is not being recognized by Netlify. I’ve tried changing between [netlify] and [data-netlify], manually adding the hidden form name input, disabling and reenabling Forms handling, with no success. The form has never been recognized as such. Any ideas?

https://daniel-herr-software-forms.netlify.app/test

@Daniel_Herr I don’t see either netlify or data-netlify on that form.

So potentially…

  1. The form has been processed and it has been removed
    As the documentation says:
    https://docs.netlify.com/forms/setup/#html-forms

When Netlify parses the static HTML for a form you’ve added, the build system automatically strips the data-netlify="true" or netlify attribute from the <form> tag and injects a hidden input named form-name

OR

  1. You don’t have form detection enabled
    See: https://docs.netlify.com/forms/setup/#enable-form-detection

I’ve tried including both versions of the attribute and form detection is enabled.

Google Photos

I’d expect the data-netlify="true" to be missing once the form is processed.

To try and confirm that the processing is running you could try removing the:

<input type="hidden" name="form-name" value="test2">

As per the documentation it gets added from the <form name="test2" once the form is processed.

You can also check your Build Log, I believe it mentions the forms detected.

Some of the processing is happening, because it does add the hidden input. But the form is not detected in the dashboard and submitting the form gives a 404. There’s also nothing about forms in the build log.

Just adding a note that this other user appears to be experiencing the same:

https://answers.netlify.com/t/form-html-is-not-submitted-or-shown-in-netlify-ui-404-but-hidden-elements-are-added/129568

It seems like when the “Free & Starter” plan was introduced, the “Form detection” was not included in that plan, even tough on the Pricing page it states that it should be available in the free plan. Forms detection started to work when upgraded to the “Pro” plan.

1 Like

Closing in favour of: FORM HTML is NOT SUBMITTED or SHOWN in NETLIFY UI, 404; but hidden elements are added - #7 by R_R