Ir para conteúdo
Fórum Script Brasil
  • 0

Preciso de ajuda


Guest --Roque --

Pergunta

Guest --Roque --

Pessoal,

Estou com esse problema aqui, acho que é coisa facil mas não estou conseguindo.

Esse formulario é de orçamento, na parte de produto quando eu seleciono varios produtos ele faz traquilo, mas quando eu recebo o e-mail so vem especificando que selecionei um. alguém pode me ajudar?

Obrigado.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/pulseira_temp.dwt" codeOutsideHTMLIsLocked="false" -->

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- InstanceBeginEditable name="doctitle" -->

<title>.:: S&oacute; Pulseira ::. Pulseiras personalizadas. Modelo silicone.</title>

<!-- InstanceEndEditable -->

<link rel="stylesheet" href="styles.css" type="text/css" />

<style type="text/css">

<!--

.style1 {font-family: Arial, Helvetica, sans-serif}

.style3 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; }

.style4 {

font-size: 10px;

color: #FFFFFF;

}

.style6 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; }

.style7 {color: #FFFFFF}

a:link {

color: #FFFFFF;

text-decoration: none;

}

a:visited {

text-decoration: none;

color: #FFFFFF;

}

a:hover {

text-decoration: underline;

color: #FFFFC1;

}

a:active {

text-decoration: none;

color: #FFFFFF;

}

.style8 {font-size: 12px}

.style9 {

font-size: 14px;

font-weight: bold;

color: #183883;

}

.style10 {color: #132E6A}

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

}

.style11 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }

.style13 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #023F02; }

.style15 {

font-family: Arial, Helvetica, sans-serif;

font-size: 12px;

color: #023F02;

font-style: italic;

font-weight: bold;

}

-->

</style>

<script language="JavaScript">

<!--

function mmLoadMenus() {

if (window.mm_menu_0417091503_0) return;

window.mm_menu_0417091503_0 = new Menu("root",100,16,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#FFFFFF","#183883","left","middle",3,0,600,-5,7,true,true,true,0,false,true);

mm_menu_0417091503_0.addMenuItem("Pulseira Regulável","window.open('pulseiras.php?cod=1', '_self');");

mm_menu_0417091503_0.addMenuItem("Pulseira Injetada","window.open('pulseiras.php?cod=2', '_self');");

mm_menu_0417091503_0.addMenuItem("Pulseira Soldada","window.open('pulseiras.php?cod=3', '_self');");

mm_menu_0417091503_0.addMenuItem("Chaveiro Pulseira","window.open('chaveiros.php?cod=4', '_self');");

mm_menu_0417091503_0.hideOnMouseOut=true;

mm_menu_0417091503_0.bgColor='#555555';

mm_menu_0417091503_0.menuBorder=0;

mm_menu_0417091503_0.menuLiteBgColor='#FFFFFF';

mm_menu_0417091503_0.menuBorderBgColor='#FFFFFF';

mm_menu_0417091503_0.writeMenus();

} // mmLoadMenus()

//-->

</script>

<script language="JavaScript" src="mm_menu.js"></script>

<!-- InstanceBeginEditable name="head" -->

<script src="dynActiveX.js"></script>

<script language="JavaScript" type="text/JavaScript">

// Função de validação do formulário

function ValidaFormulario () {

if (document.formulario.empresa.value==""){

alert("Favor informar o nome da empresa.");

document.formulario.empresa.focus();

return false;

}

if (document.formulario.contato.value==""){

alert("Favor informar o nome para contato.");

document.formulario.contato.focus();

return false;

}

if (document.formulario.cidade.value==""){

alert("Favor informar a cidade.");

document.formulario.cidade.focus();

return false;

}

// Função de validação do formulário - Email

if (document.formulario.email.value==""){

alert("Favor informar o E-mail.");

document.formulario.email.focus();

return (false);

}

if (document.formulario.email.value.indexOf("@",0) == -1){

alert("Este E-mail não é válido.");

document.formulario.email.focus();

return (false);

}

x = document.formulario.email.length;

x = x - 1;

if (document.formulario.email.value.indexOf("@",0) == x){

alert("Este E-mail não é válido.");

document.formulario.email.focus();

return (false);

}

if (document.formulario.email.value.indexOf("@",0) == 0){

alert("Este E-mail não é válido.");

document.formulario.email.focus();

return (false);

}

if (document.formulario.email.value.indexOf(".@",0) != -1){

alert("Este E-mail não é válido.");

document.formulario.email.focus();

return (false);

}

if (document.formulario.email.value.indexOf("@.",0) != -1){

alert("Este E-mail não é válido.");

document.formulario.email.focus();

return (false);

}

if (document.formulario.ddd.value==""){

alert("Favor informar DDD.");

document.formulario.ddd.focus();

return false;

}

if (document.formulario.fone.value==""){

alert("Favor informar o telefone.");

document.formulario.fone.focus();

return false;

}

if (document.formulario.quantidade.value <=999)

{

alert("Atenção, quantidade mínima de 1.000 Unidades");

document.formulario.quantidade.focus();

return (false);

}

return (true);

}

// -->

</script>

<style type="text/css">

<!--

.style16 {font-family: Arial, Helvetica, sans-serif;

font-size: 11px;

}

.style21 {font-weight: bold}

.style22 {

font-size: 14px;

font-weight: bold;

}

.style24 {

font-size: 10px;

color: #132E6A;

font-family: Arial, Helvetica, sans-serif;

font-style: italic;

font-weight: bold;

}

-->

</style>

<!-- InstanceEndEditable -->

</head>

<body>

<script language="JavaScript1.2">mmLoadMenus();</script>

<table width="772" height="393" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td width="772" height="154" valign="top" background="imagens/imagensuperior_combanner2.jpg"><table width="772" height="68" border="0" cellpadding="0" cellspacing="0">

<tr>

<td width="258" height="34">&nbsp;</td>

<td width="514">&nbsp;</td>

</tr>

<tr>

<td height="33">&nbsp;</td>

<td valign="top" style="padding-top:1pt"><table width="512" height="32" border="0" cellpadding="0" cellspacing="0">

<tr>

<td width="33" height="32" align="center" style="border-right:1px solid #ffffff"><p class="style1 style3 style4"> <a href="index.php">Home</a> </p></td>

<td width="43" align="center" style="border-right:1px solid #ffffff"><span class="style6"> <a href="soaqui.htm">S&oacute; aqui</a> </span></td>

<td width="49" align="center" style="border-right:1px solid #ffffff"><span class="style6"> <a href="#" name="link2" id="link1" onmouseover="MM_showMenu(window.mm_menu_0417091503_0,28,13,null,'link2')" onmouseout="MM_startTimeout();">Produtos</a> </span></td>

<td width="54" align="center" style="border-right:1px solid #ffffff"><p class="style6"><a href="ondeusar.htm">Onde usar</a> </p></td>

<td width="61" align="center" style="border-right:1px solid #ffffff"><span class="style6"> <a href="orcamento.htm">Or&ccedil;amento </a></span></td>

<td width="49" align="center" style="border-right:1px solid #ffffff"><span class="style6"> <a href="cadastro.htm">Cadastro </a></span></td>

<td width="50" align="center" style="border-right:1px solid #ffffff"><span class="style6"> <a href="clientes.htm">Clientes</a></span></td>

<td width="35" align="center" valign="top" style="padding-top:9px"><p class="style6"><strong><a href="faq.htm">FAQ</a></strong></p></td>

</tr>

</table></td>

</tr>

</table>

<table width="772" height="78" border="0" cellpadding="0" cellspacing="0">

<tr>

<td width="315" height="78">&nbsp;</td>

<td width="453"><img src="imagens/contatos.jpg" /></td>

</tr>

</table></td>

</tr>

<tr>

<td height="215" align="left" valign="top" style="padding-top:3pt"><!-- InstanceBeginEditable name="EditRegion3" -->

<table width="772" height="302" border="0" cellpadding="0" cellspacing="0">

<tr>

<td height="302" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="45%" height="265" align="center" valign="top"><table width="97%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td align="center" valign="middle"><form action="http://www.bbgrupo.com.br/formmail/formmail.php" method="POST" name="formulario" id="formulario" onSubmit="return ValidaFormulario();">

<input type="hidden" name="redirect" value="http://www.sopulseira.com.br/obrigado.htm">

<input type="hidden" name="subject" value="Pedido de Orcamento - sopulseira">

<input type="hidden" name="recipient" value="ti@bbgrupo.com.br">

<table width="322" border="0" cellspacing="2" cellpadding="0">

<tr valign="top">

<td colspan="2"><div align="left"><span class="style1 style8 style10"><span class="style22">Fa&ccedil;a um Or&ccedil;amento</span><br />

Pedido m&iacute;nimo 1.000 unidades. <br />

<br />

</span></div></td>

</tr>

<tr>

<td width="67"><div align="left"><span class="style1 style8 style10">Empresa:</span></div></td>

<td width="249" align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="empresa" type="text" class="style16" id="empresa" size="40" onsubmit="return ValidaFormulario();" />

</span></span></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">Contato:</span></div></td>

<td align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="contato" type="text" class="style16" id="contato" size="40" onsubmit="return ValidaFormulario();" />

</span></span></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">Cidade:</span></div></td>

<td align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="cidade" type="text" class="style16" id="cidade" size="40" onsubmit="return ValidaFormulario();" />

</span></span></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">UF:</span></div></td>

<td align="left"><select

name="uf" size="1" class="style16" id="select">

<option selected="selected" value=""> </option>

<option value="AC">AC </option>

<option value="AL">AL </option>

<option value="AM">AM </option>

<option value="AP">AP </option>

<option value="BA">BA </option>

<option value="CE">CE </option>

<option value="DF">DF </option>

<option value="ES">ES </option>

<option value="GO">GO </option>

<option value="MA">MA </option>

<option value="MG">MG </option>

<option value="MS">MS </option>

<option value="MT">MT </option>

<option value="PA">PA </option>

<option value="PB">PB </option>

<option value="PE">PE </option>

<option value="PI">PI </option>

<option value="PR">PR </option>

<option value="RJ">RJ </option>

<option value="RN">RN </option>

<option value="RO">RO </option>

<option value="RR">RR </option>

<option value="RS">RS </option>

<option value="SC">SC </option>

<option value="SE">SE </option>

<option value="SP">SP </option>

<option value="TO">TO </option>

</select></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">E-mail:</span></div></td>

<td align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="email"" class="style16" id="email" size="30"text onsubmit="return ValidaFormulario();" />

</span></span></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">Fone:</span></div></td>

<td align="left"><div align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="ddd" type="text" class="style16" id="ddd" size="1" maxlength="2" onsubmit="return ValidaFormulario();"/>

<span class="style10"> -

</span>

<input name="fone" type="text" class="style16" id="fone" size="9" onsubmit="return ValidaFormulario();"/>

</span></span><span class="style5 style20 "><span class="style5 style20 style7"><span class="style24">(ex: 41-9999-9999) </span></span></span> </div></td>

</tr>

<tr>

<tr>

<td colspan='2'>

<fieldset style="border-color:#132E6A; border:1px"><legend><div align="left"><span class="style1 style8 style10">Produto</span></div></legend>

<table width="100%" border='0'>

<tr>

<td width="10" align="left"><input name="produto" type="checkbox" value="Pulseira Regulável" /></td>

<td align="left"><span class="style1 style8 style10">Pulseira Regulável</span></td>

<td width="10" align="left"><input name="produto" type="checkbox" value="Pulseira Injetada" /></td>

<td align="left"><span class="style1 style8 style10">Pulseira Injetada</span></td>

</tr>

<tr>

<td width="10" align="left"><input name="produto" type="checkbox" value="Pulseira Soldada" /></td>

<td align="left"><span class="style1 style8 style10">Pulseira Soldada</span></td>

<td width="10" align="right"><input name="produto" type="checkbox" value="Chaveiro Pulseira" /></td>

<td align="left"><span class="style1 style8 style10">Chaveiro Pulseira</span></td>

</tr>

</table>

</fieldset>

<p>

</td>

</tr>

</td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">Quantidade:</span></div></td>

<td align="left"><span class="style5 style20 style21"><span class="style5 style7 style20">

<input name="quantidade" type="text" class="style16" size="10" onsubmit="return ValidaFormulario();" />

</span></span></td>

</tr>

<tr>

<td><div align="left"><span class="style1 style8 style10">Mensagem:</span></div></td>

<td>&nbsp;</td>

</tr>

<tr align="left">

<td colspan="2"><font color="#666666" face="trebuchet MS, Arial, Helvetica">

<textarea name="mensagem" cols="50" rows="3" wrap="VIRTUAL" class="style1" id="mensagem"></textarea>

</font></td>

</tr>

<tr align="center">

<td colspan="2"><input type="submit" name="Submit" value="Enviar" /></td>

</tr>

</table>

</form></td>

</tr>

</table>

<td width="55%"><span class="texto"><img src="imagens/cadastros.jpg" width="400" height="300" /></span></td>

</tr>

</table></td>

</tr>

</table>

<!-- InstanceEndEditable --></td>

</tr>

<tr>

<td><div align="center">

<img src="imagens/rodape.jpg" border="0" usemap="#Map" /><div><p>&nbsp;<p>&nbsp;</td>

</tr>

</table>

</td>

</tr>

</table>

<map name="Map" id="Map"><area shape="rect" coords="23,4,68,18" href="soaqui.htm" />

<area shape="rect" coords="72,4,116,20" href="silitech.htm" />

<area shape="rect" coords="176,4,235,19" href="ondeusar.htm" />

<area shape="rect" coords="307,5,368,20" href="orcamento.htm" />

<area shape="rect" coords="431,5,480,19" href="clientes.htm" />

<area shape="rect" coords="483,5,515,19" href="faq.htm" />

<area shape="rect" coords="632,2,763,53" href="http://www.bbgrupo.com.br" />

<area shape="rect" coords="371,5,425,20" href="cadastro.htm" />

<area shape="rect" coords="239,4,302,19" href="promocoes.htm" />

<area shape="rect" coords="120,4,176,18" href="#" /></map>

</body>

<!-- InstanceEnd --></html>

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,2k
    • Posts
      651,9k
×
×
  • Criar Novo...