我有一个以模式打开的表单。提交不起作用,它没有调用操作。
我已经设置了方法发布,并且操作应该调用一个php文件。但是,它根本不起作用。
这是代码,您可以在这里进行测试:
http://mentores.in/comprar.html
单击“ comprar”以打开模态。
<section id="first-step" class="wc-billing-step">
<div class="woocommerce-billing-step-one">
<h4>
Dados do Participante
</h4>
<form id="contact-form" method="post" action="enviar_inscricao.php">
<input type="text" name="nome" placeholder="Nome do participante">
<input type="text" name="cpf" placeholder="CPF">
<input type="text" name="nasc" placeholder="Data de Nascimento" onkeyup="
var date = this.value;
if (date.match(/^\d{2}$/) !== null) {
this.value = date + '-';
} else if (date.match(/^\d{2}\-\d{2}$/) !== null) {
this.value = date + '-';
}" maxlength="10">
<input type="email" name="email" placeholder="E-mail">
<input type="text" name="celular" placeholder="Celular">
<input type="text" name="end" placeholder="Endereço">
<input type="text" name="cid" placeholder="Cidade">
<input type="text" name="esta" placeholder="Estado">
<input type="text" name="cep" placeholder="CEP">
<p>Caso seja menor de idade</p>
<input type="text" name="resp" placeholder="Nome do responsável">
<input type="text" name="tel" placeholder="Telefone">
<p>Caso o pagamento seja em nome de terceiro</p>
<input type="text" name="pagseg" placeholder="Nome do titular do cartão">
</form>
</div>
</section>
我需要该表格来调用操作中的php页面。
BIG阳