I’m trying to connect a netlify form to my svelte-build site, but when I try the form it gives me a 404 page, I try copy pasting a successful example from the community:
So I would discard that is the structure of the form, probably is something related to my _redirects file, which at the moment looks like this, and I have enable form detection:
/* /index.html 200
my form at this moment looks like this:
<Card>
<div class="column-wrapper">
<form
name="contact"
method="POST"
data-netlify="true"
autocomplete="off"
class="form-wrapper"
bind:this={contactForm}
>
<div class="group">
<input
required
type="text"
class="fields"
name="name"
bind:this={nameField}
id="name"
/>
<label for="name">nombre</label>
</div>
<div class="group">
<input
bind:this={emailField}
required
type="email"
name="email"
class="fields"
id="email"
/>
<label for="email">email</label>
</div>
<div class="group">
<textarea
required
bind:this={messageField}
type="text"
style="resize:none"
class="fields"
name="message"
id="message"
/>
<label for="message">mensaje</label>
</div>
<input name="form-name" type="hidden" value="contact" />
<div class="button-wrapper">
<Button>
<div class="button-content">Enviar</div>
</Button>
</div>
</form>
</div>
</Card>