Na invullen mailform automatisch naar bedankt pagina

Status
Niet open voor verdere reacties.

sylvia66

Gebruiker
Lid geworden
12 mei 2006
Berichten
53
Ik heb op mijn site een mailform, maar ik zou het fijn vinden als de mensen na het sturen van de mail automatisch op mijn pagina komen waarop ik ze bedank voor het kijken en invullen.
Hoe doe ik dat? Ik ben een absolute beginner en het is al een waar wonder dat het me gelukt is om een werkend mailform te maken.
Althans volgens mij werkt het.
De vraag is nu alleen hoe krijg ik die pagina zover om te doen wat ik wil.
Ik heb al een keer geprobeerd erbij te zetten
<input type="hidden" name="redirect" value="http://mpsl.nl/bedankttotziens...html"/>
Maar dit deed helemaal niets, zo op het oof in iedergeval werd je niet na het versturen van de mail naar de gewenste pagina gestuurd.
Wie kan mij helpen een wel werkend script op mijn pagina te zetten?
 
het 'doorschakelen' zal je moeten doen met een php script... Ik weet niet, hoe werkt je mailform nu? Als het via php gaat, kan je het volgende als laatste regel (iig na de mail() functie) zetten:

PHP:
header("Location: http://www.bla.com/bedankt.html");

:thumb:
 
Het is een html pagina.
Hieronder heb ik de volledige pagina gezet met alle code. In een bijlage heb ik de pagina ook geupload, als me dit tenminste gelukt is, wan tik zie het niet in mijn originele vraag terugkomen, zoals bij jou dat 'venstertje' met de php code

<HTML>
<HEAD><TITLE>mpsl.nl - contact</TITLE>
<STYLE type=text/css>

body, p, td{
font-family:verdana;
font-size: 8pt;
font-weight:normal;
color:#000000;
}

h1{
font-family:verdana;
font-size: 16pt;
font-weight:bold;
color:#000000;
}

h2{
font-family:verdana;
font-size: 14pt;
font-weight:normal;
color:#ff9900;
}

a{
color:#4682b4;
text-decoration:none;
}

a:hover{
color:#ffcc00;
text-decoration:none;
}

.menu td{
color:#000000;
font-size: 8pt;
text-decoration:none;
font-weight: bold;
}

.menu td a{
color:#000000;
font-size: 8pt;
text-decoration:none;
font-weight: normal;
}

.menu td a:hover{
color:#ffcc00;
text-decoration:none;
}



H3 {font-size: 16pt; font-weight: normal}
H4 {font-size: 14pt; font-weight: normal}
</STYLE>
</HEAD>
<BODY style="BACKGROUND: #e8e8ff; MARGIN: 75px 10px 50px"><BR>
<DIV id=maindiv1 align=center><DIV id=maindiv2 style="WIDTH: 943px; POSITION: relative">
<TABLE id=maintable style="POSITION: relative; BORDER-COLLAPSE: collapse" height=506 cellSpacing=0 cellPadding=0 width=935 align=center border=0>
<TBODY>
<TR>
<TD style="BACKGROUND: url(/images/flowers/page-upper-left.gif) no-repeat; WIDTH: 17px; HEIGHT: 13px" vAlign=top width=17 height=13><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-upper-middle.gif) repeat-x; HEIGHT: 13px" vAlign=top height=13><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-upper-right.gif) no-repeat; WIDTH: 15px; HEIGHT: 13px" vAlign=top width=15 height=13><IMG height=1 width=1></TD></TR>
<TR>
<TD style="BACKGROUND: url(/images/flowers/page-left.gif) repeat-y; WIDTH: 17px" vAlign=top width=17><IMG height=1 width=1></TD>
<TD>
<TABLE style="BORDER-COLLAPSE: collapse" height="100%" cellSpacing=0 cellPadding=25 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width=360>
<P>&nbsp;</P>&nbsp;&nbsp;&nbsp; <IMG src="/P4150036.JPG-for-web-normal.jpg"></TD>
<TD vAlign=top>
<H1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="FONT-SIZE: 10pt">Contactformulier</SPAN></H1>
<FORM name=formmail action=mailto: ........@gmail.com method=post encType=text/plain>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=middle width="100%">
<P align=left>Vul uw naam, e-mailadres en vragen in op het formulier en wij zullen zo snel mogelijk contact met u opnemen voor het maken van een afspraak.&nbsp;</P>
<P align=left>U kunt ons ook bellen! Wij zijn te bereiken op ....... of ............</P></TD></TR></TBODY></TABLE>
<TABLE width="100%">
<TBODY>
<TR>
<TD align=right width="40%">Uw naam: </TD>
<TD align=left width="60%"><INPUT maxLength=40 name="uw naam"> </TD></TR>
<TR>
<TD align=right width="40%">Uw e-mail adres: </TD>
<TD align=left width="60%"><INPUT maxLength=40 name=uwemail> </TD></TR>
<TR>
<TD align=right width="40%">Uw tekst: </TD>
<TD align=left width="60%"><TEXTAREA name=boodschap rows=5 cols=40>Typ hier de boodschap die u wilt verzenden</TEXTAREA> </TD></TR>
<TR>
<TD align=right width="40%"><INPUT type=hidden value=f661e7ac0a932c9dd7194370fc39c587 name=sessie> </TD>
<TD align=left width="60%">
<P><INPUT type=submit value=Verzenden name=submit>


</P></TD></TR></TBODY></TABLE>
<P>&nbsp;</P></FORM>
<TABLE style="BORDER-COLLAPSE: collapse" height=135 cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="BACKGROUND: url(/images/flowers/table-border-h.gif)" width=8 height=8><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/table-border-a.gif)" height=8><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/table-border-b.gif)" width=8 height=8><IMG height=1 width=1></TD></TR>
<TR>
<TD style="BACKGROUND: url(/images/flowers/table-border-g.gif)" width=8><IMG height=1 width=1></TD>
<TD style="BACKGROUND: #ffffff">&nbsp; <IMG style="WIDTH: 82px; HEIGHT: 76px" height=134 src="/P4150037.JPG-for-web-small.jpg" width=180> <IMG style="WIDTH: 82px; HEIGHT: 76px" height=135 src="/zwemmen_041.jpg-for-web-small.jpg" width=178> <IMG style="WIDTH: 77px; HEIGHT: 77px" height=135 src="/P4130073.JPG-for-web-small.jpg" width=178> <IMG style="WIDTH: 79px; HEIGHT: 76px" height=135 src="/P4130072.JPG-for-web-small.jpg" width=179> <IMG style="WIDTH: 72px; HEIGHT: 77px" height=180 src="/P4130097.JPG-for-web-small-r.jpg" width=134> &nbsp; </TD>
<TD style="BACKGROUND: url(/images/flowers/table-border-c.gif)" width=8><IMG height=1 width=1></TD></TR>
<TR>
<TD style="BACKGROUND: url(/images/flowers/table-border-f.gif)" width=8 height=8><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/table-border-e.gif)" height=8><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/table-border-d.gif)" width=8 height=8><IMG height=1 width=1></TD></TR></TBODY></TABLE>
<TABLE style="BORDER-COLLAPSE: collapse" height=50 cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle>
<TABLE class=menu style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0 metaid="Mijn website 2" meta="menu"><tr><td align=center><a href="/index.html">home</a></td><td width="15" align=center>&nbsp;</td><td align=center><a href="/pagina1.html">Beschrijving</a></td><td width="15" align=center>&nbsp;</td><td align=center><a href="/digitale foto briljantboog pagina7.html">Foto's</a></td><td width="15" align=center>&nbsp;</td><td align=center>Contact</td></tr></TABLE><STRONG></STRONG></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD style="BACKGROUND: url(/images/flowers/page-right.gif) repeat-y; WIDTH: 15px" vAlign=top width=15><IMG height=1 width=1></TD></TR>
<TR>
<TD style="BACKGROUND: url(/images/flowers/page-down-left.gif) no-repeat; WIDTH: 17px; HEIGHT: 17px" vAlign=top width=17 height=17><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-down-middle.gif) repeat-x; HEIGHT: 17px" vAlign=top height=17><IMG height=1 width=1></TD>
<TD style="BACKGROUND: url(/images/flowers/page-down-right.gif) no-repeat; WIDTH: 15px; HEIGHT: 17px" vAlign=top width=15 height=17><IMG height=1 width=1></TD></TR></TBODY></TABLE>
</DIV></DIV>
</BODY>
 

Bijlagen

Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan