Why is my contact form not submitted?

0

Good afternoon,

Guys, I have a problem in the contact form. Here's a preview.

In this link it is working normally

bit.ly/2sPnWJg

Already in this link, which is the same action, even link it does not work.

bit.ly/2sAvuQP

<div class="container">
<div class="row">
    <div class="col-md-11">
        <form action="/mail/envia.php" method="post" id="Form_Envio">
          <div class="form-group">
            <label for="exampleInputEmail1">Qual Assunto?</label>

            <select name="options" class="form-control" required>
              <option value="">Selecione</option>
              <option value="Dúvidas">Dúvidas</option>
              <option value="Meu Pedido">Meu Pedido</option>
              <option value="Troca">Troca</option>
              <option value="Assuntos Diversos">Assuntos Diversos</option>
              <option value="Retorno - Desistência">Retorno - Desistência</option>
            </select>
          </div>

          <div class="form-group">
            <label>Nome:</label>

            <input maxlength="100" name="name" class="form-control" id="Nome"/>
          </div>

          <div class="form-group">
            <label>E-mail</label>
            <input type="email" maxlength="50" name="email" class="form-control" id="email"/>
          </div>

          <div class="form-group">
            <label>Telefone</label>
            <input size="15" name="phone" class="form-control" id="Telefone" />
            </label>
          </div>

          <div class="form-group">
            <label>Mensagem</label>
            <textarea cols="60" name="message" rows="10" wrap="physical" class="form-control" id="message"></textarea>
          </div>

          <div class="form-group">
            <input type="submit" value="ENVIAR" border="0" name="image2" width="75" height="25" />
          </div>
        </form> 
    </div>
</div>

    
asked by anonymous 06.06.2017 / 20:23

1 answer

1

Why do not you send via Ajax?

jQuery(document).ready(function(){
jQuery('#id-do-formulario').submit(function(){
  var dados = jQuery( this ).serialize();

            jQuery.ajax({
              type: "POST",
              url: "http://url",
              data: dados,
              success: function( data ) {
                console.log("voce pode logar uma mensagem caso foi enviado");
                console.log(data);//e pegar o retorno aqui com a variavel data caso seja submetido com sucesso.

              },
              error: function (result) {

                console.log(result);
                } 



  });


  return false;
   });
});
    
07.06.2017 / 19:03