Comunidad de diseño web y desarrollo en internet online

Formulario html

Citar            
MensajeEscrito el 28 Oct 2008 12:27 pm
Hola,
tengo una consulta acerca de un formulario que estoy haciendo en html.
Yo estaba leyendo en un tutorial o curso que hay aca y de acuerdo a eso arregle mi html pero aun asi no me funciona.
Alguien podría decirme si estoy poniendo algo mal?
Este es el codigo:

<form>
<form action="mailto:[email protected]" method="post" enctype="text/plain">
<form id="form19" name="form19" method="post" action="">
<label>
<input name="Submit" type="submit" class="style5" id="button" value="Enviar" />
</label>
</form></td>


muchas gracias,
saludos
Gise

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 28 Oct 2008 06:45 pm
Pues, aparte de que tienes la etiqueta form repetida como tres veces, no veo cuál es el error. Otra cosa será si está hecho de la mejor forma. Decide cuál form vas a usar y quita los otros dos.

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 28 Oct 2008 07:26 pm
??? me figura como que tengo una respuesta pero no la puedo leer. :o

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 28 Oct 2008 07:28 pm
Ah.. ahora si, pude leer.
Ok. voy a intentarlo, gracias!

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 28 Oct 2008 07:33 pm
Ok... mi codigo ahora es este:

<form>
<form action="mailto:[email protected]" method="post" enctype="text/plain">
<input type="submit" value="enviar" />
</form>

y aun no funciona

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 28 Oct 2008 08:26 pm
Vamos a ver ¿puedes ser un poco más clara? ¿Qué es lo que no funciona? En el código que tienes allí tienes un formulario que sólo tiene un botón enviar ¿cómo estás tratando de leer los datos?
Para mantener la legibilidad, coloca el código html entre las etiquetas [*html] y [/*html] (sin los asteriscos)

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 28 Oct 2008 08:36 pm
Este seria todo el codigo del formulario. Lo que no funciona seria que no se manda a ningun lado, y el sitio es el siquiente. www.rytraducciones.com.ar

<html>
<form>
<form action="mailto:[email protected]" method="post" enctype="text/plain">
</tr>
<tr>
<td width="15" height="15"></td>
<td width="161"></td>
<td width="9"></td>
<td width="62"></td>
<td width="9"></td>
<td width="18"></td>
<td width="86"></td>
<td width="56"></td>
<td width="12"></td>
<td width="32"></td>
<td width="74"></td>
<td width="12"></td>
<td width="6"></td>
<td width="41"></td>
<td width="116"></td>
<td width="25"></td>
<td width="26"></td>
</tr>
<tr>
<td height="24">&nbsp;</td>
<td colspan="15" valign="top" bgcolor="#99CC00"><span class="style1"> Datos Personales</span></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="27">&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="22">&nbsp;</td>
<td valign="top"><span class="style2">Nombre y Apellido</span></td>
<td>&nbsp;</td>
<td colspan="6" valign="top"><form id="form1" name="form1" method="post" action="">
<label>
<input name="textfield" type="text" id="textfield" value="" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><span class="style2">Teléfono/Fax</span></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><form id="form5" name="form5" method="post" action="">
<label>
<input name="textfield5" type="text" id="textfield5" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="13"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td valign="top"><span class="style2">Razón Social</span></td>
<td></td>
<td colspan="6" valign="top"><form id="form2" name="form2" method="post" action="">
<label>
<input name="textfield2" type="text" id="textfield2" size="25" />
</label>
</form></td>
<td></td>
<td colspan="2" valign="top"><span class="style2">Celular</span></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><form id="form6" name="form6" method="post" action="">
<label>
<input name="textfield6" type="text" id="textfield6" size="25" />
</label>
</form></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="18"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>


<tr>
<td height="22"></td>
<td valign="top"><span class="style2">Ciudad</span></td>
<td></td>
<td colspan="6" valign="top"><form id="form3" name="form3" method="post" action="">
<label>
<input name="textfield3" type="text" id="textfield3" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><span class="style2">E-mail</span></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><form id="form7" name="form7" method="post" action="">
<label>
<input name="textfield7" type="text" id="textfield7" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td valign="top"><span class="style2">País</span></td>
<td></td>
<td colspan="6" valign="top"><form id="form4" name="form4" method="post" action="">
<label>
<input name="textfield4" type="text" id="textfield4" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><span class="style2">Sitio web</span></td>
<td>&nbsp;</td>
<td colspan="2" valign="top"><form id="form8" name="form8" method="post" action="">
<label>
<input name="textfield8" type="text" id="textfield8" size="25" />
</label>
</form></td>
<td>&nbsp;</td>
<td></td>
</tr>
<tr>
<td height="42"></td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="23"></td>
<td colspan="15" valign="top" bgcolor="#99CC00"><span class="style1">Datos de la Traducción</span></td>
<td></td>
</tr>
<tr>
<td height="28"></td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="29"></td>
<td colspan="3" valign="top"><span class="style2">Tipo de Traducción</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form9" name="form9" method="post" action="">
<label>
<select name="select" size="1" id="select">
<option>Legal</option>
<option>Técnica</option>
<option>Científica</option>
<option>Literaria</option>
<option>Pública</option>
<option>Comercial</option>
<option>Informática</option>
<option>Documentos Personales</option>
<option>Otros</option>
</select>
</label>
</form></td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="13"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td colspan="3" valign="top"><span class="style2">Requiere Legalización</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form10" name="form10" method="post" action="">
<label>
<select name="select2" id="select2">
<option>Si</option>
<option>No</option>
</select>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="17"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td colspan="3" rowspan="2" valign="top"><span class="style2">Idioma de Origen <span class="style4">(idioma en el que está escrito el texto)</span></span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form11" name="form11" method="post" action="">
<label>
<select name="select3" id="select3">
<option>Inglés</option>
<option>Español</option>
</select>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="32"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="15"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="22"></td>
<td colspan="3" valign="top"><span class="style2">Idioma a Traducir</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form12" name="form12" method="post" action="">
<label>
<select name="select4" id="select4">
<option>Inglés</option>
<option>Español</option>
</select>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="14"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="36"></td>
<td colspan="3" valign="top"><span class="style2">Cantidad de palabras aprox.</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form13" name="form13" method="post" action="">
<label>
<input name="textfield9" type="text" id="textfield9" size="5" />
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="16"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td colspan="3" valign="top"><span class="style2">Formato de origen</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form14" name="form14" method="post" action="">
<label>
<select name="select5" id="select5">
<option>Impreso</option>
<option>Documento electrónico</option>
</select>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="17"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="26"></td>
<td colspan="3" valign="top"><span class="style2">Formato requerido</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form15" name="form15" method="post" action="">
<label>
<select name="select6" id="select6">
<option>.doc</option>
<option>.xls</option>
<option>.pdf</option>
<option>.ppt</option>
<option>.txt</option>
</select>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="18"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td colspan="3" valign="top"><span class="style2">Plazo de entrega</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" valign="top"><form id="form16" name="form16" method="post" action="">
<label>
<input type="text" name="textfield10" id="textfield10" />
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="20"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="36"></td>
<td colspan="3" valign="top"><span class="style2">Consulta y/o comentarios</span></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan="5" rowspan="2" valign="top"><form id="form17" name="form17" method="post" action="">
<label>
<textarea name="textfield11" cols="30" rows="5" id="textfield11"></textarea>
</label>
</form></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="47"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="16"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>


<tr>
<td height="42"></td>
<td colspan="13" valign="top"><p class="style2">Adjunte el texto / parte del texto o enviélo a la dirección de e-mail indicada para obtener un presupuesto sin cargo. <a href="mailto://[email protected]">[email protected]</a></p></td>
<td>&nbsp;</td>
<td></td>
<td></td>
</tr>
<tr>
<td height="22"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td colspan="4" valign="top"><form id="form18" name="form18" enctype="multipart/form-data" method="post" action="">
<label>
<input name="fileField" type="file" class="style4" id="fileField" />
</label>
</form></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="39"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="24"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td valign="top">
<input type="submit" value="enviar" />
</form>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="122"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 30 Oct 2008 10:29 am
Por favor, alguien puede ayudarme con esto? Lo necesito bastante urgente.

Gracias!

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 30 Oct 2008 08:22 pm
Te lo dije antes y te lo repito ahora, tienes repetida la etiqueta form no sé cuántas veces. Cada vez que colocas algo entre las etiquetas "form" estás creando un formulario diferente y no puedes meter formularios dentro de formularios. Para dividir el formulario en diferentes secciones, usa "fieldset", pero asegúrate que todos los campos están dentro de un sólo par de etiquetas "form".

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 30 Oct 2008 10:43 pm
Si, ya lo arregle todo. Gracias! Y funciona todo perfecto y el mail llega. Pero ahora tengo otro pequeño problemita.

Dentro de ese formulario tengo un botón de examinar con el siguiente codigo:

<input name="archivo" type="file" id="archivo" >

y no se como hacer para que adjunte el archivo, porque al mail me llega la ruta del archivo pero no el archivo.
Es otro código?

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7
Citar            
MensajeEscrito el 31 Oct 2008 03:50 am
Sí, para adjuntar archivos la cosa cambia, pero con un poco que busques en Google hallarás varias respuestas porque es un tema que se ha tratado mucho; sólo busca "adjuntar archivos con php"-

Por The Fricky!

Presidente

6168 de clabLevel

3 tutoriales
8 articulos

Genero:Masculino   Bastard Operators From Hell Héroes

Piccola Venezia...

firefox
Citar            
MensajeEscrito el 31 Oct 2008 12:05 pm
ok, me voy a fijar a ver si encuentro algo. Gracias! :)

Por GiSe

26 de clabLevel



Genero:Femenino  

msie7

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.