Click to See Complete Forum and Search --> : Form "SUCCESS_HTML" Problem..


brizak79
08-16-2003, 11:00 AM
I'm using I Frames for my website, and I cant get the following form to function correctly. I want this tag <input TYPE="HIDDEN" NAME="SUCCESS_HTML" VALUE="http://www.sevenmilesun.com/contact/pages/contact_thank.htm"> to be modified so the success page comes up in the same frame. You can view the page at http://www.sevenmilesun.com/contact/pages/contact_main.htm. Thanks!!

<form METHOD="post" ACTION="http://www.sevenmilesun.com/cgi-bin/blah_blah/mail.pl">
<input TYPE="HIDDEN" NAME="DESTINATION_ADDR" VALUE="brian@sevenmilesun.com">
<input TYPE="HIDDEN" NAME="SUBJECT" VALUE="Contact Brian">
<input TYPE="HIDDEN" NAME="SUCCESS_HTML" VALUE="http://www.sevenmilesun.com/contact/pages/contact_thank.htm">
<div align="left">
<pre><font face="Tahoma">Name:</font><font color="#FF0000" face="Tahoma">
<input NAME="FIRST_NAME" SIZE="20" TYPE="text">

</font><font face="Tahoma">E-Mail Address:</font><font color="#FF0000" face="Tahoma">
<input NAME="SUB_ADDR" SIZE="20" TYPE="text">

</font><font face="Tahoma">Comments:</font><font color="#FF0000" face="Tahoma">
<textarea NAME="COMMENTS" ROWS="5" COLS="17">
</textarea></font></pre>
</div>
<p align="left"><font color="#FF0000" face="Tahoma">
<input TYPE="submit" VALUE="Submit"> <input TYPE="reset" VALUE="Clear"></font></p>
</form>

evert1803
08-17-2003, 02:27 PM
give me the url where you define the frame, then I will try to work it out.

brizak79
08-17-2003, 07:31 PM
the URL for the main page is: http://www.sevenmilesun.com/contact/pages/contact_main.htm

one of the individual pages is:
http://www.sevenmilesun.com/contact/pages/brian.htm

evert1803
08-18-2003, 07:10 AM
Try using <BASE target="_self"> in the HEAD section.

brizak79
08-19-2003, 02:48 PM
Originally posted by evert1803
Try using <BASE target="_self"> in the HEAD section.
I'm not sure I understand where to put it. In the <HEAD> section of the Thank You page? Or in the FORM page? Sorry... :confused:

evert1803
08-19-2003, 03:45 PM
Probably in the form-page. What is does is setting the BASE value for TARGET to _self. So if you set this one into the form-page it should/could take this value for opening the thankyou-page.

Let me know if it works, i couldn't find enough proof it would work at all.