Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail message appears in url of redirect page 1

Status
Not open for further replies.
Well, I may have solved that problem but now there is a new one. I have added the text of my form handler. Can you have a looksee? Thank you soooo much.

<%@ LANGUAGE=&quot;VBScript&quot; %>

<%Option Explicit
On Error Resume Next

Response.Buffer = true
dim errorMsgs
dim msg
errorMsgs = Array()
%>
<%

<body bgcolor=&quot;#FFFFFF&quot;>
<div align=&quot;center&quot;>
<p><font size=5><b>Comments Page</b></font> </p>
</div>
<p align=&quot;center&quot;>&nbsp;
<div align=&quot;center&quot;> </div>
<!-- <A HREF=&quot;<%request.form(&quot;frompage&quot;)%>
<body bgcolor=&quot;#FFFFFF&quot;>
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

function popUp(URL) {
day = new Date();
id = day.getTime();
eval(&quot;page&quot; + id + &quot; = window.open(URL, '&quot; + id + &quot;', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=720,height=400,left = 45,top = 100');&quot;);
}
// End -->
</script>
<TITLE>Surface Transportation ISAC</TITLE>
<LINK REV=&quot;made&quot; HREF=&quot;mailto:&quot;>
<META NAME=&quot;generator&quot; CONTENT=&quot;NoteTab Pro 4.81&quot;>
<META NAME=&quot;author&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;description&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;keywords&quot; CONTENT=&quot;&quot;>
<TABLE ALIGN=&quot;center&quot; BORDER=&quot;0&quot; CELLSPACING=&quot;0&quot; CELLPADDING=&quot;0&quot; WIDTH=&quot;90%&quot;>
<TR>
<TD ALIGN=&quot;middle&quot; HEIGHT=&quot;32&quot; >
<div align=&quot;center&quot;></div>
</TD>
</TR>
<TR>
<TD height=&quot;147&quot;>
<H2 align=&quot;center&quot;>Your Issue has been submitted.</H2>
<!-- <div align=&quot;center&quot;>
<% response.write mailtext %>
</div> -->
<h3 align=&quot;center&quot;><a href=&quot; to main page.</a></h3>
<hr width=&quot;90%&quot;>
<br>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
 
there are a few problems with this page, for starters you have no HTML or head tag (put you popUp script in between the head tags). You have 2 body tags, get rid of the sencond one from the top. Put:

<TITLE>Surface Transportation ISAC</TITLE>
<LINK REV=&quot;made&quot; HREF=&quot;mailto:&quot;>
<META NAME=&quot;generator&quot; CONTENT=&quot;NoteTab Pro 4.81&quot;>
<META NAME=&quot;author&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;description&quot; CONTENT=&quot;&quot;>
<META NAME=&quot;keywords&quot; CONTENT=&quot;&quot;>

in between your head tags.


You also have
<!-- <A HREF=&quot;<%request.form(&quot;frompage&quot;)%>
which should say
<!-- <A HREF=&quot;<%=request.form(&quot;frompage&quot;)%>


also you have
<% response.write mailtext %>
but mailtext is not defined anywhere


not sure if any of that will sorted it, as Im not sure what the page is trying to do
 
Thank you sooo much! What happened was I went delete happy earlier. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top