Hyrax Postado Janeiro 28, 2008 Denunciar Share Postado Janeiro 28, 2008 Preciso de alguns campos de meu formulario sejam obrigatorioscampos obrigatorios:Nome*:E-mail*:Telefone*:Endereço*:Cidade*:Estado*:Unidades*Produto*Descrição*Como seria o javascript para isto???... ainda sou muito leigo em JS.. =/... agradeço a ajuda desde já!tenho o seguinte formulario de orçamento:<form action="formorcamento.php" method="post" name="formulario_orcamento" id="formulario_orcamento"> <p style="margin-top: 0; margin-bottom: 0"> </p> <p style="margin:0 15px; "> <font face="Arial" size="2" color="#808080">Preencha corretamente os campos (* necessários).</font></p> <p style="margin-top: 0; margin-bottom: 0"> </p> <table border="0" width="100%" id="table1"> <tr> <td align="right" width="12%"> <font face="Arial" size="2" color="#808080">Nome*:</font></td> <td width="86%" colspan="3"> <input type="text" name="nome" size="78" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed" maxlength="80"></td> </tr> <tr> <td align="right" width="12%"> <font face="Arial" size="2" color="#808080">E-mail*:</font></td> <td width="86%" colspan="3"> <input type="text" name="email" size="78" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="right" width="12%"> <font face="Arial" size="2" color="#808080">Telefone*:</font></td> <td width="44%"> <input type="text" name="ddd" size="8" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"> <input type="text" name="telefone" size="30" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="6%" align="right"> <font face="Arial" size="2" color="#808080">Fax:</font></td> <td width="37%"> <input type="text" name="dddfax" size="8" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"> <input type="text" name="fax" size="30" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="right" width="12%"> <font face="Arial" size="2" color="#808080">Endereço*:</font></td> <td width="44%"> <input type="text" name="endereco" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="6%" align="right"> <font face="Arial" size="2" color="#808080">CEP:</font></td> <td width="37%"> <input type="text" name="cep" size="20" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="right" width="12%"> <font face="Arial" size="2" color="#808080">Cidade*:</font></td> <td width="44%"> <input type="text" name="cidade" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="6%" align="right"> <font face="Arial" size="2" color="#808080">Estado*:</font></td> <td width="37%"> <select size="1" name="estado" style="color: #000000; border: 2px solid #C0C0C0; background-color: #E0DFE3; background-image: url('gbform.jpg'); background-repeat:repeat; background-attachment:fixed"> <option>Acre</option> <option>Alagoas</option> <option>Amapá</option> <option>Amazonas</option> <option>Bahia</option> <option>Ceará</option> <option>Distrito Federal</option> <option>Espírito Santo</option> <option>Goiás</option> <option>Maranhão</option> <option>Mato Grosso</option> <option>Mato Grosso do Sul</option> <option>Minas Gerais</option> <option>Pará</option> <option>Paraíba</option> <option>Paraná</option> <option>Pernambuco</option> <option>Piauí</option> <option>Rio de Janeiro</option> <option>Rio Grande do Norte</option> <option>Rio Grande do Sul</option> <option>Rondônia</option> <option>Roraima</option> <option selected>Santa Catarina</option> <option>São Paulo</option> <option>Sergipe</option> <option>Tocantins</option> </select></td> </tr> <tr> <td width="12%"> </td> <td width="44%"> </td> <td width="6%"> </td> <td width="37%"> </td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <font face="Arial" size="2" color="#808080">Unidades*</font></td> <td width="44%" align="center"> <p align="center"> <font face="Arial" size="2" color="#808080">Produto*</font></td> <td width="44%" colspan="2" align="center"> <p align="center"> <font face="Arial" size="2" color="#808080">Descrição*</font></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un1" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <input type="text" name="pro1" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des1" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un2" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro2" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des2" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un3" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro3" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des3" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un4" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro4" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des4" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un5" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro5" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des5" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un6" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro6" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des6" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un7" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro7" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des7" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un8" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro8" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des8" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un9" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro9" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des9" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un10" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro10" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des10" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un11" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro11" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des11" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un12" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro12" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des12" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un13" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro13" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des13" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un14" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro14" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des14" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un15" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro15" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des15" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un16" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro16" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des16" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un17" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro17" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des17" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un18" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro18" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des18" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un19" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro19" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des19" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un20" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro20" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des20" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un21" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro21" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des21" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un22" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro22" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des22" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un23" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro23" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des23" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un24" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro24" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des24" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un25" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro25" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des25" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un26" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro26" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des26" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un27" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro27" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des27" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un28" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro28" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des28" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un29" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro29" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des29" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> <p align="center"> <input type="text" name="un30" size="9" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" align="center"> <p align="center"> <input type="text" name="pro30" size="74" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> <td width="44%" colspan="2" align="center"> <p align="center"> <input type="text" name="des30" size="65" style="font-size: 10px; font-family: arial; border: 2px solid #C0C0C0; background-image: url('gbform.jpg'); background-repeat: repeat; background-attachment: fixed"></td> </tr> <tr> <td align="center" width="12%"> </td> <td width="44%" align="center"> </td> <td width="44%" colspan="2" align="center"> </td> </tr> <tr> <td align="center" width="100%" colspan="4"> <font size="2" face="Arial" color="#808080">Observações</font></td> </tr> <tr> <td align="center" width="100%" colspan="4"> <textarea rows="5" name="obs" cols="114" style="color: #000000; font-family: arial; font-size: 10px; border: 2px solid #C0C0C0; background-color: #E0DFE3; background-image: url('gbtext.jpg'); background-repeat: repeat; background-attachment: fixed"></textarea></td> </tr> <tr> <td align="center" width="12%"> </td> <td width="44%" align="center"> </td> <td width="44%" colspan="2" align="center"> </td> </tr> <tr> <td align="center" width="100%" colspan="4"> <p><font size="1" face="Verdana"> <input name="enviar" type="submit" id="enviar" value="Enviar" style="color: #FFFFFF; font-family: Verdana; font-size: 10px; font-weight: bold; border: 2px solid #C0C0C0; background-color: #999999"> <input name="enviar0" type="reset" id="enviar0" value="Limpar" style="color: #FFFFFF; font-family: Verdana; font-size: 10px; font-weight: bold; border: 2px solid #CCCCCC; background-color: #C0C0C0"></font></td> </tr> <tr> <td align="center" width="12%"> </td> <td width="44%" align="center"> </td> <td width="44%" colspan="2" align="center"> </td> </tr> <tr> <td colspan="4"> <p align="center"> <font size="2" face="Arial" color="#808080">Obs.: Nossos moldes são fabricados com tolerâncias dimensionais nas seções de mais ou menos 2mm e no comprimento total de mais ou menos 5mm.</font></td> </tr> </table></form> Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 fercosmig Postado Janeiro 28, 2008 Denunciar Share Postado Janeiro 28, 2008 http://scriptbrasil.com.br/forum/index.php...mp;#entry334575vários códigos:http://scriptbrasil.com.br/forum/index.php?showtopic=82408 Citar Link para o comentário Compartilhar em outros sites More sharing options...
0 Hyrax Postado Janeiro 28, 2008 Autor Denunciar Share Postado Janeiro 28, 2008 Obrigado... ^_^ Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
Hyrax
Preciso de alguns campos de meu formulario sejam obrigatorios
campos obrigatorios:
Nome*:
E-mail*:
Telefone*:
Endereço*:
Cidade*:
Estado*:
Unidades*
Produto*
Descrição*
Como seria o javascript para isto???... ainda sou muito leigo em JS.. =/... agradeço a ajuda desde já!
tenho o seguinte formulario de orçamento:
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.