Form not submitting

I’m having a problem with forms not submitting from www.alejandraleon.com, specifically a form at Terapias Holísticas Transpersonales as well as Terapias Holísticas Transpersonales

I use a hidden html form followed by an alpine.js driven form that was working until recently. I tried testing a rolled back previously working version of the form that doesn’t work either.

No errors in console, not in spam, post processing shows the form being detected, simply no form results in Netlify.

I have also deployed a functionally equivalent form to a test site that works as expected.

Form code:

<label><input type="text" name="name"/></label>
<label><input type="email" name="email"/></label>
<label><input type="tel" name="phone"/></label>
<label>
    <textarea name="message"></textarea>
</label>
<p hidden>
    <label>ignore: <input name="hp-field"/></label>
</p>

<input type="hidden" name="form-name" value="contact2"/>

<div class="flex flex-col mt-4 space-y-2">
    <label>Nombre:</label>
    <input x-model="name" x-on:blur="nameDirty = true" type="text" name="name" placeholder="Tu nombre aquí..." class="formInput rounded-full" 

/>



Por favor incluye tu nombre


<div class="flex flex-col mt-4 space-y-2">
    <label>E-mail: </label>
    <input x-model="email" x-on:blur="emailDirty = true" type="email" name="email" placeholder="Tu e-mail aquí..." class="formInput rounded-full" 

/>



Por favor incluye tu e-mail para contestarte


<div class="flex flex-col mt-4 space-y-2">
    <label>Teléfono: </label>
    <input x-model="phone" x-on:blur="phoneDirty = true" type="tel" name="phone" placeholder="Tu número de teléfono aquí..." class="formInput rounded-full" 

/>



Por favor incluye tu número de teléfono para contestarte


<div class="flex flex-col mt-4 space-y-2">
    <label>Por favor cuéntame un poco de ti y qué estás buscando</label>
    <textarea x-model="message" x-on:blur="messageDirty = true" name="message" placeholder="Tu texto aquí..." class="formInput h-48 resize-none rounded"></textarea>
    <p class="lg:h-4">
        <span x-show.transition="messageDirty && message.length == 0" class="text-sm italic text-themeStrawberry-200" x-cloak>
Por favor dime un poco de lo que buscas</span>
    </p>
</div>

<div class="flex flex-row-reverse mt-4 mb-6 text-center">
    <button class="ctaButton" type="submit">Empezamos</button>
</div>

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! Unfortuantely debugging code is outside the realm of support.

If you are still having problems, please provide more information such as what you have already tried. :slight_smile:

I already went through all the resources. I have tried pretty much everything including cloning the site to another netlify instance where the exact code submits ok. So I don’t know what the deal is with this website.

So looking at this thread I found that the problem was that I introduced language codes into my site and the fetch needed to include the country code. Didn’t initially consider that this would be a reason for the form not to work so finally resolved, thanks.

I’m glad you were able to get things working, Jay! Please let us know if you need help with anything else.

Actually I found what to me seems a bug or at least something that should be better documented. I added an additional field to an existing form and the field would not appear in the submissions. I spent a bunch of time trying to figure out why and then I just changed the form name to a new one and it worked fine as Netlify configured it as a completely new form. I assume this is a case that once the form is recognized and configured it’s essentially fixed in your system, but this isn’t really clear in the form documentation.