its just the script your using
if you show me i would probably know in any language
look for a javascript for a popup script
find that HTML where you enter bthe text afetr the form is submited and POP it UP!
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!Does anyone know how to have your redirect page (after submitting a form) popup rather than a large page with little content?
I've looked at w3schools.com and htmlgoodies, but no luck...
its just the script your using
if you show me i would probably know in any language
look for a javascript for a popup script
find that HTML where you enter bthe text afetr the form is submited and POP it UP!
I think you use "#" on the form action post and have a pop up :
http://javascript.internet.com/gener...up-window.html
then have your mailback on that page :
<?php
mail("your@email.com", "Your subject",
"Name: $_POST[name]
Email: $_POST[email]
Comments: $_POST[comments]
");
?>
<html>
<head>
<title>Message Sent</title>
<body>
<center>
<font face="Verdana" size=5>
<br>
<br>
<br>
<br><b>Message sent !</b>
<br>
<br>
<br>
<br><a href="yourlink.html">Close</a>
<center>
</body>
</html>
???
What are you guys talking about?
I am not sure what you want.
Maybe this is just above me..
Get an eNom resellers account free and instantly,click here - Automated Signup!
I have a form on Seagoville.com which redirects to http://seagoville.com/thankyou.htm after it has been submitted.
I would like to just have the thankyou.htm page popup after the form is submitted, instead of being transferred to a new page. I'm sure it can be done, but will probably just leave it the way it is.
Thanks for everyone's help...
are you using a cgi mail script like 'formmail.cgi'?
The above php example and other ways would be simpler, but if limited to cgi access and knowledge of the formmail.cgi stuff it can still be done easily.
If so, the formmail script should have a redirect 'target' value that can be set, which can be set to the NAME of a new window you can pop up during the submit process. The scripts default target is the self window which is why you get the thankyou wiping out your page.
If so, change the onsubmit function in your mail form html to a function that pops open the window you want and NAME it, ie: mailWin=window.open("", "mailsent", WinProps); where 'mailsent' becomes the new windows name. In that function immediately after the new window pop, let the submit go, don't forget the 'return true' at the end. Now in the formmail script itself add a line, or in the mail form itself set a hidden value of 'target="mailsent"'.
An example, my site uses a little palmtop as the user interface, and on submit of mail I needed the sent confirmation (the thankyou) to return in the palm top screen ( an Iframe, just like a new window, with a name=target), instead of wiping out my palmtop completely with a thankyou page replacing it! I did use the typical formmail.cgi with these modifications.
http://www.choicenames.com/index.html?mail
good luck.
Bookmarks