Simples Form

Publicado por Jonas Resenes 30/10/2004

[ Hits: 8.677 ]

Download ahm.php




Simples formulario muito util para cadastro de usuarios.

  



Esconder código-fonte

<html><head>
<title>Novo usuario</title>
    
<tr bgcolor="#FFFFFF">
<table width="103%" height="312" border="0" cellpadding="0" cellspacing="0">
      <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Nome:</font></b></td>
            <td width="78%"><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="nome_cliente">
              *</font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">E-mail
              : </font></b></td>
            <td width="78%"><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="email_cliente">
              *</font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Senha:</font></b></td>
            <td width="78%"><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="password" name="senha_cliente">
              * </font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Confirma Senha:</font></b></td>
            <td width="78%"><font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="password" name="senha_confirma">
              * </font></b></font></td>
          </tr>

          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Cidade:</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="cidade_cliente" size="30">
              * </font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Endereço:</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="endereco_cliente" size="40">
              * </font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Telefone:</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="fone_cliente">
              * </font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">CEP:</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif" color="#FF0000">
              <input type="text" name="cep_cliente">
              * </font></b></font></td>
          </tr>
          <tr>
            <td width="22%"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">CPF/CGC</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif">
            <input type=radio name="chkCPF" value="off">
                        CNPJ (pessoa jurídica) ou <br>
                        <input type=radio name="chkCPF" value="on" checked>
                        CPF (pessoa física)
                        Número: <input type="text" name="cpf_cliente" size="14" maxlength="14"><font color="#FF0000"> * </font>
                        </td>
          </tr>
          <tr>
            <td width="22%"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">RG/I.E</font></b></td>
            <td width="78%"> <font size="1"><b><font face="Verdana, Arial, Helvetica, sans-serif">
              <input type="text" name="rg_cliente">
              <font color="#FF0000">* </font></font></b></font></td>
          </tr>
</table>
        <p><font size="1"><font face="Verdana, Arial, Helvetica, sans-serif">
          <input type="submit" name="Submit" value="Enviar cadastro">
          </font> </font> </p>
        </form>
      <p> </p>
    </td>
  </tr>
</table>
</table>
</body>
</html>

Scripts recomendados

isNumber

Formulário de Login no GOOGLE APPS - MAIL

Validação de formulário

Ordenação de Registros em uma Table

Validação de CPF e CNPJ em única Função


  

Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts