Hi Dennis,
I solved this using Javascript. The following will show you how to open a new window for you : my $thanks = "http://......"; print " <input type=button value=\"New Window\" Onclick=\"window.open('${thanks}')\"> "; Maybe not exactly what you want. But the following will submit your form and then change the location : # ------------------------ <html><head> <script language=JavaScript> function Thanks() { document.edi.submit(); window.location="http://mypage.com/thanks.htm"; } </script></head> <body><form name=edi><table> <tr><td> Hello, please press the button to submit and than go to my thanks page</td></tr> <tr><td><input type=button value=bedankt Onclick=Thanks()></td></tr> </table></form></body></html> # ------------------------------ Also a popupbox might be nice not ? Just put it somewhere you want the popupbox to be activated : <script language=JavaScript> alert("Thanks for submitting"); </script> Of course you can change the window.location within the fuction Thanks with the alert. Or : function Thanks() { var decision = confirm("Are you sure to submit ?"); if (decision == true){ document.edi.submit(); alert("Thanks for submitting"); window.location="http://mypage.com/thanks.htm"; } } Last note, Functions should be placed in the header <head><script la.... </script></head>. Hhhm, doesn't look like Perl, anyway. It works. Good luck. Regs David > > Greetings: > > At the end of my .cgi page I'd like to trasnfer the user to a Thank You page (upon > hitting the submit button) rather than putting all the HTML at the bottom. Is there >an > easy way to do this? > > Thanks for the help. > > A new Perl user, > ____________________________________________ > Dennis Greenfield > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]