Mudanças entre as edições de "Formulário Adesão"
Linha 1: | Linha 1: | ||
− | {| width="100%" cellspacing="1" cellpadding="1" border="0" style="border: 1px solid rgb(163, 115, 67); padding-left: 7px; font-size: 100%; font-family: arial; background-color: rgb( | + | {| width="100%" cellspacing="1" cellpadding="1" border="0" style="border: 1px solid rgb(163, 115, 67); padding-left: 7px; font-size: 100%; font-family: arial; background-color: rgb(247, 247, 247); text-align: left;" |
|- | |- | ||
| [[Image:Wiki cvago form adesao.png]] | | [[Image:Wiki cvago form adesao.png]] | ||
Linha 68: | Linha 68: | ||
<form action="envio_teste.php" method="post" onSubmit="javascript: return valida();"> | <form action="envio_teste.php" method="post" onSubmit="javascript: return valida();"> | ||
− | <table | + | <table width="100%" height="300" class="td2" border="0" cellpadding="0" cellspacing="0"> |
<tr align="center"> | <tr align="center"> | ||
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> | <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> |
Edição das 16h34min de 20 de maio de 2011
Arquivo:Wiki cvago form adesao.png | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<addhtml>
<script language="JavaScript"> function valida(){ var doc = window.document; if(doc.getElementById("nome").value == ""){ alert("Por favor insira um nome!"); doc.getElementById("nome").focus(); return false; } if(doc.getElementById("email").value == ""){ alert("Por favor insira seu email!"); doc.getElementById("email").focus(); return false; } if(doc.getElementById("ddd").value == ""){ alert("Por favor Informe o DDD de seu Telefone!"); doc.getElementById("ddd").focus(); return false; } if(doc.getElementById("telefone").value == ""){ alert("Informe um telefone para contato!"); doc.getElementById("telefone").focus(); return false; } if(doc.getElementById("ddd2").value == ""){ alert("Por favor Informe o DDD de seu Celular!"); doc.getElementById("ddd2").focus(); return false; } if(doc.getElementById("celular").value == ""){ alert("Por favor Informe o número de seu celular!"); doc.getElementById("celular").focus(); return false; } if(doc.getElementById("marca").value ==""){ alert("Por favor Informe a marca do veículo!"); doc.getElementById("marca").focus(); return false; } if(doc.getElementById("modelo").value ==""){ alert("Por favor Informe o modelo do veículo!"); doc.getElementById("modelo").focus(); return false; } if(doc.getElementById("ano").value ==""){ alert("Por favor Informe o ano do veículo!"); doc.getElementById("modelo").focus(); return false; } return true; }
<form action="envio_teste.php" method="post" onSubmit="javascript: return valida();">
</form>
|