PDA

View Full Version : Help I need a new page to open after sending webform


fotoderoodt
03-07-2005, 11:57 PM
Hi all,

I hope someone can help me.

I made a webform and I like a new page or a big pop-up to appear after the formis send.

I use this code for my form:

<| </html>
<FORM METHOD=POST ACTION="mailto:[email protected]" ENCTYPE="text/plain">


<span style="font-family: Elephant; color: black; layout-grid-mode: line">
<blockquote>
<table height="260" width="342">
<tr>
<td ALIGN="right" height="25" width="144"><em>Name </em></td>
<td height="25" width="188"><input NAME="Nombre" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144"><em>Apellido</em></td>
<td height="25" width="188"><input NAME="Apellido" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">
<span lang="ES-MX" style="font-family: Times New Roman; font-style: italic">
Domicilio</span></td>
<td height="25" width="188"><input TYPE="TEXT" NAME="Domicilio" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144"><em>Código Postal</em></td>
<td height="25" width="188">
<input TYPE="TEXT" NAME="Código Postal" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144"><em>Colonia </em></td>
<td height="25" width="188"><input TYPE="TEXT" NAME="Colonia" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">
<span lang="ES-MX" style="font-family: Times New Roman; font-style: italic">
Delgación</span></td>
<td height="25" width="188"><input TYPE="TEXT" NAME="Delgación" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">
<span lang="ES-MX" style="font-family: Times New Roman; font-style: italic">
Ciudad</span></td>
<td height="25" width="188"><input TYPE="TEXT" NAME="Ciudad" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">
<span lang="ES-MX" style="font-family: Times New Roman; font-style: italic">Tel.
Casa</span></td>
<td height="25" width="188">
<input TYPE="TEXT" NAME="Tel. Casa" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">
<span lang="ES-MX" style="font-family: Times New Roman; font-style: italic">Tel.
Cel.</span></td>
<td height="25" width="188">
<input TYPE="TEXT" NAME="Tel. Cel" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144"><i>Correo electrónico</i> </td>
<td height="25" width="188"><input TYPE="TEXT" NAME="Email" SIZE="25"></td>
</tr>
<tr>
<td ALIGN="right" height="25" width="144">&nbsp;</td>
<td height="25" width="188">&nbsp;</td>
</tr>

</table>
</blockquote>
</b>
<p><b><font size="4">T<span lang="ES-MX">ipo de fotografia que le interesa</span></font><a NAME="Vraag-3"><font size="4">:</font></a></b></p>
<blockquote>
<p>&nbsp;<b><font size="4">Escoja </font> <span lang="ES-MX"><font size="4">
su opción</font></span><br>
<input TYPE="CHECKBOX" NAME="Modelaje" value="SI"></b><span style="font-family: Times New Roman; font-style: italic"> </span>
<font color="#000000"><i>Fotografía de modelaje</i></font><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
<input TYPE="CHECKBOX" NAME="Bodas" value="SI"></b><span style="font-family: Times New Roman; font-style: italic"> </span>
<font color="#000000"><i>Fotografia de Bodas</i></font><b><br>
<input TYPE="CHECKBOX" NAME="Artistico" value="SI"></b><i><span style="font-family: Times New Roman"> </span></i>
<font color="#000000"><i>Fotografia Artistico</i></font><i> </i><b>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
<input TYPE="CHECKBOX" NAME="Traje_de_baño" value="NO"> </b>
<font face="Book Antiqua" color="#000000"><i>Fotografía de proyección</i></font><b><br>
<input TYPE="CHECKBOX" NAME="Artísticas" value="NO"> </b>Otros (Por favor
escriba cual)<br>
<i>
<b>
<font face="Times New Roman">&nbsp;</font></b></i><b><TEXTAREA NAME="S1" ROWS="3" COLS="40"></TEXTAREA>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
</table>
</blockquote>
<i>¿Cómo encontró usted nuestro sitio? </i> <BR>
<TEXTAREA NAME="encontro" ROWS="3" COLS="40"></TEXTAREA><p>
<span lang="ES-MX" style="font-style:italic">Observaciónes</span><BR>
<TEXTAREA NAME="comment" ROWS="6" COLS="40"></TEXTAREA><BR>

<INPUT TYPE="submit" NAME="Submit" VALUE="Enviar">
<INPUT TYPE="reset" NAME="Reset" VALUE="Borrar"> </p>

If they hit the send button or when sending is doen I like to open a new page or pop-up with text to thank them for sending the form.

I hope someone knows how...

Thanks!!

Boskic.com
03-13-2005, 04:08 PM
Your form action is mailto, it automaticly opens a default mail client. In order to get the thanks form page you must use server side language (PHP, Perl, ASP ...). example
<FORM METHOD=POST ACTION="your_file.php">, you may find php or other free scripts searching the web, only you have to do is adjusting it to your document.

¡Mucho suerte, saludos!