Ir ao conteúdo
  • Cadastre-se

Tenho um fomrulário HTML e quero salvar as informações em arquivo texto!! Help me!!


lorena_brunet

Posts recomendados

Oi gente!!

Blzinha?

É o seguinte, recebi a seguinte missão: salvar as informações de um formulário HTML em arquivo texto.

Deve abri a caixa de salvar como e pronto.

Só que não estou conseguindo...

Olha o fomulário... é enorme. Alguns campo são textbox, outro selectbox e ainda tem checkbox. Não sei qual campo referncial para que ele salve arquivo...

me ajudem, please!!!

<head>

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

<title>MRP Electronique</title>

<style type="text/css">

<!--

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

.style6 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #FFFFFF; }

.style9 {font-size: 12px}

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

body,td,th {

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

}

.style11 {

color: #FFFFFF;

font-weight: bold;

}

.style12 {

font-size: 10px;

font-weight: bold;

color: #333333;

}

.style14 {

color: #000000;

font-size: 12px;

}

.style16 {

font-size: 12px;

font-weight: bold;

color: #000000;

}

-->

</style>

</head>

<body>

<p> </p>

<table width="1008" border="0" align="center">

<tr>

<td class="style2"><label><img src="topo.jpg" width="1000" height="108" /></label></td>

</tr>

</table>

<table width="1007" border="0" align="center">

<tr>

<td width="136"><span class="style2">MRP Nº

<label>

<input name="textfield" type="text" size="4" maxlength="4" />

</label>

</span></td>

<td width="269"><span class="style2">LOCAL:

<label>

<select name="local">

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

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

<option value="SP Marca Citroën">SP Marca Citroën</option>

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

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

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

</select>

</label>

</span></td>

<td width="588"><span class="style2">STATUS:

<label>

<select name="status">

<option value="OUVRIER">OUVRIER</option>

<option value="CADRE">CADRE</option>

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

</select>

</label>

</span></td>

</tr>

</table>

<table width="1009" height="1112" border="1" align="center" bordercolor="#999999">

<tr>

<td width="1002" height="1106"><table width="999" border="0">

<tr>

<td bgcolor="#666666"><span class="style6">RESERVADO À ÁREA REQUISITANTE </span></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td width="288"><span class="style2">Diretoria

<label>

<select name="diretoria">

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

<option value="AI5X">AI5X</option>

<option value="GECR">GECR</option>

<option value="MEMP">MEMP</option>

<option value="MITV">MITV</option>

<option value="PEAL">PEAL</option>

<option value="PSIM">PSIM</option>

<option value="QUAL">QUAL</option>

<option value="T3X">T3X</option>

<option value="PFVB">PFVB</option>

</select>

</label>

</span></td>

<td width="370"><span class="style2">Gestor

<input name="textfield22" type="text" size="40" />

</span></td>

<td width="328"><span class="style2">Data da emissão <span class="style9">

<input name="textfield453" type="text" size="8" maxlength="8" />

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

</tr>

</table>

<table width="1000" border="0">

<tr>

<td bgcolor="#CCCCCC"><div align="center"><span class="style6">MOVIMENTAÇÃO DE PESSOAL </span></div></td>

</tr>

</table>

<table width="999" border="1" bordercolor="#CCCCCC">

<tr>

<td width="402"><p class="style2">

<label> <span class="style9">

<input type="checkbox" name="checkbox" value="checkbox" />

</span></label>

<span class="style9"> 1 - Mudar horário para:</span></p>

<p class="style10">

<input type="checkbox" name="checkbox2" value="checkbox" />

2 - Advertir por escrito:</p>

<p class="style10">

<input type="checkbox" name="checkbox3" value="checkbox" />

3 - Demitir sem justa causa:</p>

<p class="style10">

<input type="checkbox" name="checkbox4" value="checkbox" />

4 - Mudar Status para:</p>

<p class="style10">

<input type="checkbox" name="checkbox5" value="checkbox" />

5 - Mudar Cargo para:</p>

<p class="style10">

<input type="checkbox" name="checkbox6" value="checkbox" />

6 - Aumentar para:</p>

<p class="style10">

<input type="checkbox" name="checkbox7" value="checkbox" />

7 - Transferir para: </p>

<p class="style10"> </p>

<p class="style10">

<input type="checkbox" name="checkbox8" value="checkbox" />

8 - Liberação da Área: </p></td>

<td width="587" valign="top"><table width="585" border="0">

<tr>

<td width="397"><p class="style2"> </p>

<p class="style2"> </p>

<p class="style2"><span class="style9">Nome do Funcionário</span>

<label>

<input name="textfield2" type="text" size="40" />

</label>

</p></td>

<td width="178"><p class="style2"> </p>

<p class="style2"> </p>

<p class="style2"><span class="style9">Matrícula</span><span class="style2"><label>

<input name="textfield3" type="text" size="15" />

</label>

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

</tr>

</table>

<table width="579" border="0">

<tr>

<td width="123"><span class="style10">Identifiant

<label>

<input name="textfield4" type="text" size="7" maxlength="7" />

</label>

</span></td>

<td width="176"><span class="style10">Centro de Custos

<label>

<input name="textfield5" type="text" size="8" maxlength="8" />

</label>

</span></td>

<td width="266"><span class="style10">Cargo atual

<input name="textfield52" type="text" size="25" />

</span></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td width="377"><span class="style9">Nível atual

<input name="textfield42" type="text" size="40" />

</span></td>

<td width="203"><span class="style9">Salário atual

<input name="textfield43" type="text" size="15" />

</span></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td><p class="style9">Motivo

<label>

<textarea name="textfield6" cols="68"></textarea>

</label>

</p>

</td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td width="179"><span class="style9">Vigência

<input name="textfield44" type="text" size="8" maxlength="8" />

</span></td>

<td width="401"><span class="style9">Admissão

<input name="textfield45" type="text" size="8" maxlength="8" />

</span></td>

</tr>

</table> <p> </p></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td bgcolor="#CCCCCC"><div align="center"><span class="style11">REQUISIÇÃO DE PESSOAL </span></div></td>

</tr>

</table>

<table width="1000" border="1" bordercolor="#CCCCCC">

<tr>

<td width="393"><p class="style10">

<input type="checkbox" name="checkbox83" value="checkbox" />

9 - Efetivo </p>

<p class="style10">

<input type="checkbox" name="checkbox84" value="checkbox" />

10 - Temporário </p>

<p class="style10">

<input type="checkbox" name="checkbox85" value="checkbox" />

11 - CDD

</p>

<p class="style10">

<input type="checkbox" name="checkbox86" value="checkbox" />

12 - Estagiário</p>

<p class="style10">

<input type="checkbox" name="checkbox82" value="checkbox" />

13 - Menor Aprendiz

</p></td>

<td width="591" valign="top"><table width="590" border="0">

<tr>

<td width="323"><p class="style9"> </p>

<p class="style9">Centro de Custos

<input name="textfield53" type="text" size="8" maxlength="8" />

</p></td>

<td width="257"><p class="style9"> </p>

<p class="style9">Código

<input name="textfield54" type="text" size="15" />

</p></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td><span class="style9">Cargo Proposto

<input name="textfield55" type="text" size="50" />

</span></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td width="323"><span class="style9">Recrutamento Interno <span class="style10">

<input type="checkbox" name="checkbox832" value="checkbox" />

</span>Sim<span class="style10">

<input type="checkbox" name="checkbox8322" value="checkbox" />

</span> Não</span></td>

<td width="257"><span class="style9">Horário de trabalho

<input name="textfield542" type="text" size="8" maxlength="8" />

</span></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td width="323"><span class="style9">Funcionário Indicado <span class="style10">

<input type="checkbox" name="checkbox8323" value="checkbox" />

</span>Sim<span class="style10">

<input type="checkbox" name="checkbox83222" value="checkbox" />

</span> Não</span></td>

<td width="257"><span class="style9">Substituição <span class="style10">

<input type="checkbox" name="checkbox83232" value="checkbox" />

</span>Sim<span class="style10">

<input type="checkbox" name="checkbox832222" value="checkbox" />

</span> Não</span></td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td width="206"><span class="style9">Previsto no Budget <span class="style2">

<input type="checkbox" name="checkbox8324" value="checkbox" />

</span>Sim<span class="style2">

<input type="checkbox" name="checkbox83223" value="checkbox" />

</span> Não</span></td>

<td width="374"> </td>

</tr>

</table>

<table width="590" border="0">

<tr>

<td><span class="style9">Justificativa p/ não previsto

<label>

<textarea name="textfield7" cols="60"></textarea>

</label>

</span></td>

</tr>

</table> <p> </p></td>

</tr>

</table>

<table width="1001" border="1" bordercolor="#CCCCCC">

<tr>

<td width="991" height="24" valign="top"><p class="style12">Tarefas Típicas / Qualificações. Anexar a Descrição de Função e enviar para a área de Remuneração % Benefícios. Em 15/03/2007 este cargo não tem tarefas cadastradas. </p>

</td>

</tr>

</table>

<table width="1001" border="1" bordercolor="#CCCCCC">

<tr>

<td width="983"><span class="style9">Tarefas adicionais

<label>

<input name="textfield8" type="text" size="143" />

</label>

</span></td>

</tr>

</table>

<table width="1001" border="1" bordercolor="#CCCCCC">

<tr>

<td width="329"><span class="style9">Gerência Requisitante

<input name="textfield532" type="text" size="34" maxlength="8" />

</span></td>

<td width="328"><span class="style9">Gestão de Budget Efetivos

<input name="textfield5322" type="text" size="30" maxlength="8" />

</span></td>

<td width="308"><span class="style9">Diretoria Requisitante

<input name="textfield5323" type="text" size="34" maxlength="8" />

</span></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td width="994" bgcolor="#CCCCCC"><div align="center"><span class="style11">RESERVADO A REMUNERAÇÃO E BENEFICIOS </span></div></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td width="274"><span class="style14">Título do cargo <span class="style9">

<input name="textfield543" type="text" size="30" />

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

<td width="158"><span class="style9">Código do cargo

<input name="textfield544" type="text" size="10" />

</span></td>

<td width="181"><span class="style9">Classe função

<input name="textfield545" type="text" size="15" />

</span></td>

<td width="169"><span class="style9">Classe Adm.

<input name="textfield546" type="text" size="15" />

</span></td>

<td width="196"><span class="style9">Salário Aprovado

<input name="textfield547" type="text" size="15" />

</span></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td><span class="style9">OBS:

</span> <textarea name="textarea" cols="107"></textarea></td>

</tr>

</table>

<table width="1000" border="1" bordercolor="#CCCCCC">

<tr>

<td bgcolor="#CCCCCC"><div align="center"><span class="style11">RESERVADO AO RECRUTAMENTO E SELEÇÃO </span></div></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td width="527"><span class="style9">Parecer de Recrutamento e Seleção

<textarea name="textarea2" cols="60"></textarea>

</span></td>

<td width="463"><p class="style9">Vaga preenchida por

<input name="textfield53222" type="text" size="40" maxlength="8" />

</p>

<p class="style9">Data de Admissão

<input name="textfield452" type="text" size="8" maxlength="8" />

</p></td>

</tr>

</table>

<table width="1000" border="1" bordercolor="#CCCCCC">

<tr>

<td bgcolor="#CCCCCC"><div align="center"><span class="style11">APROVAÇÃO FINAL </span></div></td>

</tr>

</table>

<table width="1000" border="0">

<tr>

<td width="342"><span class="style9">Diretoria Requisitante

<input name="textfield5452" type="text" size="25" />

</span></td>

<td width="356"><span class="style9">Diretoria requisitante

<input name="textfield5453" type="text" size="25" />

</span></td>

<td width="288"><span class="style9">Recursos Humanos

<input name="textfield5454" type="text" size="25" />

</span></td>

</tr>

</table>

<table width="1000" border="1">

<tr>

<td bgcolor="#FFFFFF"><span class="style14">OBSERVAÇÕES</span><span class="style16">

<input name="textfield82" type="text" size="145" />

</span></td>

</tr>

</table>

</td>

</tr>

</table>

<p>

<label>

<div align="center">

<input type="submit" name="Submit" value="ENVIAR" />

</div>

</label>

</p>

</body>

</html>

Link para o comentário
Compartilhar em outros sites

  • 4 semanas depois...

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...