Could you please help checking what I am doing wrong in my form?

As per title, nothing happens upon clicking the button, I believe I am following the documentation, could you please have a look?

        <form name="contatti" method="POST" class="callback-form appoinment-form" action="/success.html" data-netlify="true">
          <div>
            <p class="h3 fw-bold fontKid text-light">Per informazioni:</p>
          </div>
          <div class="form-floating mb-3 mt-3">
            <input type="textname" name="name" id="namero" placeholder="Nome" class="form-control rounded" required>
            <label for="namero">Nome</label>
          </div>
          <div class="form-floating mb-3 mt-3">
            <input type="email" name="email" id="emailto" placeholder="E-mail" class="form-control rounded"
              required>
            <label for="emailto">E-mail</label>
          </div>
          <div class="form-floating mb-3 mt-3">
            <input type="text" name="phone" id="phoneto" placeholder="Telefono" class="form-control rounded"
              required>
            <label for="phoneto">Telefono</label>
          </div>
          <div class="form-floating mb-3 mt-3">
            <textarea name="messaget" id="message" placeholder="Messaggio" rows="4"
              class="form-control rounded"></textarea>
            <label for="message">Messaggio</label>
          </div>
          <div data-netlify-recaptcha="true"></div>
          <button type="submit" value="Invia" id="submitto" name="sub"
            class="btn btn-success btn-lg btn-round-full mt-2">
            <i class="fa fa-paper-plane me-2"></i> Invia
          </button>
        </form>

Hi @alfiofederico,

Thanks for reaching out!

Have you read our Support Guide on troubleshooting form issues here:

The Support Guide covers most issues that can arise with Netlify forms.

If you’re still having issues, could you let us know the site you’re attempting to use the form on? Please provide the URL to the Netlify site. Thanks!

1 Like

Hi, Thanks for your reply! Yes, I tried everything, the from is detected on Netlify but nothing happens once clicking the submit button.
The site is this: https://dottorlerropediatragastroenterologo.com

The gitHub repo: GitHub - alfiofederico/pediatrician

Thanks!

Ok fixed, so my jQuery had a .btn handler function that was preventing the form to be submitted! You can disregard this, thanks!

1 Like

Hi @alfiofederico,

Thanks for letting us know you were able to resolve the issue. Also thanks for letting us know how you resolved the issue and got forms working. I hope you have a great day!

very informative post thanks for sharing .