troubleshooting Question

How to get FrontPage 2003 Form Redirect to go to an outside url?

Avatar of cyphas
cyphas asked on
ASPHTMLWeb Development Software
4 Comments1 Solution560 ViewsLast Modified:
In Front Page 2003 I created a form with the following hidden field for my form handler
<input type="hidden" name="redirect" value="http://budurl.com/sellyourfsbohome />

But when the button is clicked, it wants to append my url to my root url which obviously doesn't work because it redirects to:
http://sellahomeonmyown.com/http://budurl.com/sellyourfsbohome instead of just http://budurl.com/sellyourfsbohome .What can I do to just get the redirect to work on the form?
I don't want to create a redirect page.

I am using an .asp form handler not the FrontPage Forms wizard. You can see by going to http://www.sellahomeonmyown.com/standard.htm

I tried the <form action="http://budurl.com/SellYourFsboHome"... as you'll see on the site but it just bounces it back to the root I'm sure because the formhandler gdform.asp is looking for a redirect.

Also I can't seem to get the hidden fields for Date and Time to work
Here's what I copied from my other site that seems to work OK.(see code below)
Code for Date time:-
<input type="hidden" name="Date" value="%=Date%" />
<input type="hidden" name="Time" value="%& Session("TimeVisited%" />

<!--webbot BOT="GeneratedScript" endspan --><form method="POST" action="http://www.sellahomeonmyown.com/gdform.asp" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
											<input type="hidden" name="subject" value="Sahomo Inquiry" /> 
  											<input type="hidden" name="redirect" value="http://budurl.com/sellyourfsbohome"/>
  											<input type="hidden" name="Date" value="%=Date%" />
  											<input type="hidden" name="Time" value="%& Session("TimeVisited%" />											<table border=0 cellspacing=0 cellpadding=4 width="446">
												<tr>
													<td width="185" height="35" align="right">
													<p align=right style='text-align:right;line-height:normal; font-size:10.0pt; font-family:"Verdana","sans-serif"'>
													<b>Enter Your First Name:&nbsp;&nbsp; 
													</b></p></td>
													<td width="261">
													<p>
													&nbsp;<!--webbot bot="Validation" s-display-name="Your Name" b-value-required="TRUE" i-minimum-length="3" --><input size="28" name="name"></p>
													</td>
												</tr>
												<tr>
													<td width="185" height="37" align="right">
													<p align=right style='text-align:right;line-height:normal; font-size:10.0pt; font-family:"Verdana","sans-serif"'>
													<b>Type In Your Email <br>Address:&nbsp;&nbsp; 
													</b></p></td>
													<td width="261">
													<p>
													&nbsp;<!--webbot bot="Validation" s-display-name="Your Primary Email" b-value-required="TRUE" i-minimum-length="5" --><input size="28" name="email"></p>
													</td>
												</tr>
												<tr>
													<td colspan=2>
													<div align=center>
														<table id="table33" bgcolor="#950000" border="0" cellpadding="4" cellspacing="0">
															<tbody>
																<tr>
																	<td>
																	<p align="center">
																	<font color="#000000" face="Arial" size="2">
																	<input value="Click Here Now For Your Free Details »" style="font-size: 14pt; font-family: Arial; letter-spacing: -1px; font-weight: bold; width: 360px; height: 40px;" type="submit" name="submit"></font></p>
																	</td>
																</tr>
															</tbody>
														</table>
														<p align="center">Your 
														credit card statement 
														will show a charge from 
														CLKBANK*com</p>
														<p align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>
														©2008 TNT Marketing 
														Solutions, Inc<br>All Rights Reserved</b></font> 
														<br>
	<b>
	<font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#C0C0C0">
					Phone: 800-765-3150</font></b></div></td>
												</tr>
											</table>
										</form>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros