Jump to content
Fórum Script Brasil
  • 0

Formulario


JoaoPP
 Share

Question

Ola pessoal estou com uma duvida porque meu formulario esta tudo bagunçado podem me ajudar veja o codigo fonte abaixo:

<form name="formmail" action="http://www.redehost.com.br/scripts/formmail.asp" method="post"><input type=hidden name="recipient" value="[email protected]"> 
<input type=hidden name="redirect" value="http://www.jpeletronics.kit.net"> 
    <table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
        <tr>
            <td width="210"><b>Nome:</b><font color="#FFFFFF">
</font></td>
            <td><font color="#FFFFFF">
            <input type=text name="realname" size="27" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Email: </b></td>
            <td><font color="#FFFFFF">
            <input type=text name="email" size="27" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Remetente:</b><font color="#FFFFFF">
    </font>
            </td>
            <td><font color="#FFFFFF">
            <input type=text name="body2" size="27" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Endereço:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body3" size="29" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Bairro:</b><font color="#FFFFFF">
    </font></td>
            <td><font color="#FFFFFF">
            <input type=text name="body4" size="16" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Cidade/UF: </b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body5" size="16" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Cep:</b><font color="#FFFFFF">
    </font>
            </td>
            <td><font color="#FFFFFF">
            <input type=text name="body6" size="10" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Apelido no ml:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body7" size="16" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>RG:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body8" size="30" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>CPF:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body9" size="30" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Telefone Residencial:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body10" size="17" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Telefone Celular/Móvel:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body11" size="17" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Forma de pagamento:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body12" size="30" style="border: 2px solid #666666"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Forma de envio:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="body13" size="30" style="border-style: solid; border-width: 2px"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Assunto:</b></td>
            <td><font color="#FFFFFF">
            <input type=text name="subject" size="18" value="Cadastro" style="border-style: solid; border-width: 2px"></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><b>Comentário:</b></td>
            <td><font color="#FFFFFF">
<textarea name="body" rows="12" cols="35" wrap="virtual" style="border: 2px solid #666666"></textarea></font></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210"><font color="#FFFFFF">
            <input type="submit" value="Enviar" style="border: 1px solid #000000"><input type="reset" value="Limpar" style="border: 1px solid #000000"></font></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210">&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td width="210">&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </table>
</form>

Quando fiz o teste o email chegou assim:

body2: kiko de zam

body4: Centro

body11: 984556651

body3: Av. Paulista, 234

body13: sedex

body5: Spsp

body6: 022414000

body7: kiko05

body: cor preta

body8: 2144584848

body9: 44847544844

body12: a vista

body10: 22440204

quando o certo seria assim:

body2: kiko de zam

body3: Av. Paulista, 234

body4: Centro

body5: Spsp

body6: 022414000

body7: kiko05

body8: 2144584848

body9: 44847544844

body10: 22440204

body11: 984556651

body12: a vista

body13: sedex

body: cor preta

Da uma ajuda ai galera ou me mandem algum outro formulario melho rs...

Abraço!

Joao

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.1k
    • Total Posts
      647.1k
×
×
  • Create New...