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

alguém sabe como montar o script para enviar o formulario


Factorymusic

Pergunta

alguém sabe como criar script para enviar o formulario que coloquei abaixo.

MONTEI O FORMULARIO EM HTML (segue o formulario em html)

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FORMULÁRIO</title>
<link rel="stylesheet" type="text/css" href="view.css" media="all">
&lt;script type="text/javascript" src="view.js"></script>
&lt;script type="text/javascript" src="calendar.js"></script> 
</head>
<body id="main_body" >

<img id="top" src="top.png" alt="">
<div id="form_container">

<h1><a>FORMULÁRIO</a></h1>
<form id="form_356134" class="appnitro" enctype="multipart/form-data" method="post" action="form.php">
<div class="form_description">
<h2>FORMULÁRIO</h2>
<p>Preenche todos os dados abaixo para o cadastro do Anúncio.</p>
</div>
<ul >


<li id="li_1" >
<label class="description" for="element_1">NOME </label>
<span>
<input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/>
<label>Nome</label>
</span> <span>
<input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/>
<label>Sobre Nome</label>
</span> </li>
<li id="li_6" >
<label class="description" for="element_6">CPF / CNPJ </label>
<div>
<input id="element_6" name="element_6" class="element text medium" type="text" maxlength="255" value=""/>
</div>
</li>
<li id="li_5" >
<label class="description" for="element_5">DATA NASCIMENTO </label>
<span>
<input id="element_5_1" name="element_5_1" class="element text" size="2" maxlength="2" value="" type="text">
/
<label for="element_5_1">DIA</label>
</span> <span>
<input id="element_5_2" name="element_5_2" class="element text" size="2" maxlength="2" value="" type="text">
/
<label for="element_5_2">MÊS</label>
</span> <span>
<input id="element_5_3" name="element_5_3" class="element text" size="4" maxlength="4" value="" type="text">
<label for="element_5_3">ANO</label>
</span> <span id="calendar_5"> <img id="cal_img_5" class="datepicker" src="calendar.gif" alt="Pick a date.">
</span>
&lt;script type="text/javascript">
Calendar.setup({
inputField : "element_5_3",
baseField : "element_5",
displayArea : "calendar_5",
button : "cal_img_5",
ifFormat : "%B %e, %Y",
onSelect : selectDate
});
</script>
</li>
<li id="li_2" >
<label class="description" for="element_2">E-mail </label>
<div>
<input id="element_2" name="element_2" class="element text medium" type="text" maxlength="255" value=""/>
</div>
</li>
<li id="li_3" >
<label class="description" for="element_3">ENDEREÇO: </label>
<div>
<input id="element_3_1" name="element_3_1" class="element text large" value="" type="text">
<label for="element_3_1">Rua</label>
</div>
<div>
<input id="element_3_2" name="element_3_2" class="element text large" value="" type="text">
<label for="element_3_2">Número / Complemento</label>
</div>
<div class="left">
<input id="element_3_3" name="element_3_3" class="element text medium" value="" type="text">
<label for="element_3_3">Bairro</label>
</div>
<div class="right">
<input id="element_3_4" name="element_3_4" class="element text medium" value="" type="text">
<label for="element_3_4">Cidade / UF</label>
</div>
<div class="left">
<input id="element_3_5" name="element_3_5" class="element text medium" maxlength="15" value="" type="text">
<label for="element_3_5">CEP</label>
</div>
<div class="right">
<select class="element select medium" id="element_3_6" name="element_3_6">
<option value="" selected="selected"></option>
<option value="Argentina" >Argentina</option>
<option value="Armenia" >Armenia</option>
<option value="Australia" >Australia</option>
<option value="Austria" >Austria</option>
<option value="Bolivia" >Bolivia</option>
<option value="Brazil" >Brasil</option>
<option value="Cambodia" >Cambodia</option>
<option value="Canada" >Canada</option>
<option value="Chile" >Chile</option>
<option value="China" >China</option>
<option value="Colombia" >Colombia</option>
<option value="Dominican Republic" >Dominican Republic</option>
<option value="Ecuador" >Ecuador</option>
<option value="Finland" >Finland</option>
<option value="France" >France</option>
<option value="Germany" >Germany</option>
<option value="Greece" >Greece</option>
<option value="Grenada" >Grenada</option>
<option value="Guinea" >Guinea</option>
<option value="Haiti" >Haiti</option>
<option value="Honduras" >Honduras</option>
<option value="Hong Kong" >Hong Kong</option>
<option value="Hungary" >Hungary</option>
<option value="Iceland" >Iceland</option>
<option value="India" >India</option>
<option value="Indonesia" >Indonesia</option>
<option value="Iran" >Iran</option>
<option value="Iraq" >Iraq</option>
<option value="Italy" >Italy</option>
<option value="Jamaica" >Jamaica</option>
<option value="Japan" >Japan</option>
<option value="Liberia" >Liberia</option>
<option value="Libya" >Libya</option>
<option value="Liechtenstein" >Liechtenstein</option>
<option value="Nauru" >Nauru</option>
<option value="Nepal" >Nepal</option>
<option value="Netherlands" >Netherlands</option>
<option value="New Zealand" >New Zealand</option>
<option value="Nigeria" >Nigeria</option>
<option value="Norway" >Norway</option>
<option value="Oman" >Oman</option>
<option value="Pakistan" >Pakistan</option>
<option value="Palau" >Palau</option>
<option value="Poland" >Poland</option>
<option value="Portugal" >Portugal</option>
<option value="Puerto Rico" >Puerto Rico</option>
<option value="Russia" >Russia</option>
<option value="Rwanda" >Rwanda</option>
<option value="Seychelles" >Seychelles</option>
<option value="Sierra Leone" >Sierra Leone</option>
<option value="Singapore" >Singapore</option>
<option value="South Africa" >South Africa</option>
<option value="Spain" >Spain</option>
<option value="Sri Lanka" >Sri Lanka</option>
<option value="Swaziland" >Swaziland</option>
<option value="Sweden" >Sweden</option>
<option value="Switzerland" >Switzerland</option>
<option value="Syria" >Syria</option>
<option value="Thailand" >Thailand</option>
<option value="Togo" >Togo</option>
<option value="Tonga" >Tonga</option>
<option value="Trinidad and Tobago" >Trinidad and Tobago</option>
<option value="United States" >United States</option>
<option value="Uruguay" >Uruguay</option>
<option value="Venezuela" >Venezuela</option>
<option value="Vietnam" >Vietnam</option>
</select>
<label for="element_3_6">País</label>
</div>
</li>
<li id="li_4" >
<label class="description" for="element_4">TELEFONE: </label>
<div>
<input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value=""/>
</div>
</li>
<li id="li_7" >
<label class="description" for="element_7">Web Site </label>
<div>
<input id="element_7" name="element_7" class="element text medium" type="text" maxlength="255" value="http://"/>
</div>
</li>
<li id="li_9" >
<label class="description" for="element_9">QUAL ANÚNCIO DESEJA: </label>
<span>
<input id="element_9_1" name="element_9_1" class="element checkbox" type="checkbox" value="1" />
<label class="choice" for="element_9_1">ANÚNCIO 1 </label>
<input id="element_9_2" name="element_9_2" class="element checkbox" type="checkbox" value="1" />
<label class="choice" for="element_9_2">ANÚNCIO 2 </label>
<input id="element_9_3" name="element_9_3" class="element checkbox" type="checkbox" value="1" />
<label class="choice" for="element_9_3">ANÚNCIO FULL </label>
<input id="element_9_4" name="element_9_4" class="element checkbox" type="checkbox" value="1" />
<label class="choice" for="element_9_4">ANÚNCIO </label>
</span> </li>
<li id="li_8" >
<label class="description" for="element_8">SUA MENSAGEM: </label>
<div>
<input id="element_8" name="element_8" class="element text medium" type="text" maxlength="255" value=""/>
</div>
</li>
<li id="li_10" >
<label class="description" for="element_10">Upload do seu Logo/foto </label>
<div>
<input id="element_10" name="element_10" class="element file" type="file"/>
</div>
</li>


<li class="buttons">
<input type="hidden" name="form_id" value="356134" />
<input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
</li>
</ul>
</form>
<div id="footer">
Factorymusic <a href="http://www.teste.com.br">By Factory Empresas</a>
</div>
</div>
<img id="bottom" src="bottom.png" alt="">
</body>
</html>

Editado por Factorymusic
Link para o comentário
Compartilhar em outros sites

1 resposta 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.

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,3k
    • Posts
      652,2k
×
×
  • Criar Novo...