Ver Mensaje Individual
  #11 (permalink)  
Antiguo 25/09/2007, 03:02
goizgoiz
 
Fecha de Ingreso: noviembre-2005
Mensajes: 128
Antigüedad: 18 años, 6 meses
Puntos: 0
Re: Enviar un formulario poudiendo escoger dirección.

A ver si así alguien me puede ayudar. HE cambiado el metodo.
Ahora en vez de hacerlo con checbox lo intento con <select>

Quiero que en la lista desplegable aparezca lo siguiente:
Dpto. Comercial
Dpto. Técnico
y otros cuantos

Cada uno de estos quiero que este dirigido a un mailto:----------------
y que cuando le demos a ENVIAR este formulario vaya al <select> seleccionado.

¿Me explicado bien?

Por favor ayudarme de momento tengo esto.

Cita:
<form id="form1" name="form1" method="post" action="">
<table width="98%" border="0" cellspacing="5" class="texto">
<tr>
<td width="16%" align="right"><span class="Estilo3">*</span> Nombre:</td>
<td width="31%" align="left"><label>
<input name="nonbre" type="text" id="nonbre" />
</label></td>
<td width="15%" align="right"><span class="Estilo3">* </span>Apellidos:</td>
<td width="38%" align="left"><input name="apellidos" type="text" id="apellidos" /></td>
</tr>
<tr>
<td align="right">Direcci&oacute;n:</td>
<td align="left"><input name="direccion" type="text" id="direccion" /></td>
<td align="right"><span class="Estilo3">* </span>Email: </td>
<td align="left"><input name="email" type="text" id="email" /></td>
</tr>
<tr>
<td align="right">Tel&eacute;fono:</td>
<td align="left"><input name="telefono" type="text" id="telefono" /></td>
<td align="right">Fax:</td>
<td align="left"><input name="fax" type="text" id="fax" /></td>
</tr>
<tr>
<td align="right" valign="top"><span class="Estilo3">*</span>Comentario:</td>
<td colspan="3" align="left" valign="top"><textarea name="sugerencia" cols="48" rows="6" id="sugerencia"></textarea></td>
</tr>
<tr>
<td colspan="4" align="right" valign="top"><table width="100%" border="0" class="texto">
<tr>
<td width="4%" align="left"><select name="select">
<OPTION VALUE="mailto:[email protected]">Dpto. Comercial </OPTION>
<OPTION VALUE="mailto:[email protected]">Dpto. Técnico </OPTION>
</select>

</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" align="right" valign="top">
<input type="submit" name="Submit" value="Enviar" onclick="loadPage(this.form.elements[0])" /></td>
<td colspan="2" align="left" valign="top"><input type="reset" name="Submit2" value="Restablecer" /></td>
</tr>
</table>
</form>