//flex table opened by JP

Click to See Complete Forum and Search --> : !!!!HTML Help Forms!!!!!


jonny_clydesdale
04-30-2001, 02:21 AM
Hi there i have been trying to get my form on my site to work but can't ill post my code and if any one can tell me where i am going wrong it would be much appreciated.

Web address http://www.geocities.com/jonny_clydesdale


code for the contact page

<html>
<head>
<title>Futurama Contact Page</title>

</head>

<body background="leela.gif">

<div align=left>
<marquee><h1>Contact and Comments Page</h1></marquee>
</div>


Hello, Sorry this page is currently under construction, as i havent quite go the hang of these form things yet..
<br>
<br>
<br>
<br>

----Jonny-----
<br>
<br>
<img src="cons.gif"
<br>
<br>
If you would like to contact me for any reason please fill in the following form.
<form method=post action="http://us.geocities.yahoo.com/forms login=jonny_clydesdale">

<table width=600 border=0 cellspacing=10 cellpadding=0>
<tr><td valign=top align=right>
<font face=arial size=-1>
<b>Your first name:</b></font><br>
<input type=text name="name" size=25>
</td>
<td valign=top align=left>
<font face=arial size=-1>
<b>Your URL:</b></font><br>
<input type=text name="url" size=25>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>

<tr><td valign=top align=right>
<font face=arial size=-1>
<b>Would you visit my web site again?</b><br>
Yes<input type=radio name="visit" value="Yes, I would visit again">
No<input type=radio name="visit" value="No, I wouldn't visit again">
</font>
</td>
<td valign=top>
<font face=arial size=-1>
<b>How did you hear about my site?</b><br>
<input type=radio name="hear about" value="Yahoo! GeoCities search">Yahoo! GeoCities search<br>
<input type=radio name="hear about" value="A popular search engine">A popular search engine<br>
<input type=radio name="hear about" value="Link from another site">Link from another site<br>
<input type=radio name="hear about" value="From a friend">From a friend
</font>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan=2 valign=top align=center>
<font face=arial size=-1>
<b>If you have any comments or suggestions<br> for my site please add them below:
</b></font><br>
<textarea cols=40 rows=10 name="comments"></textarea>
<p>

<input type="submit" value="Send">
<input type="reset" value="Clear the form">
</td>
</tr>
</table>

<input type = "hidden" name = "recipient" value="jonny_clydesdale@yahoo.com">
<input type="hidden" name="subject" value="Survey Results">
<input type="hidden" name="next_url" value="http://www.geocities.com/jonny_clydesdale/page2.html">


</form>
</html>

golfcart
04-30-2001, 08:49 PM
<form method=post action="http://us.geocities.yahoo.com/forms login=jonny_clydesdale">

Is the main part that I think is screwing it up. Its hard to tell exactly what the error is. If the login is indeed part of the url it needs a question mark in front of it, like, "http://us.geocities.yahoo.com/forms?login=jonny_clydesdale"
But im not sure if calling a directory with a querystring will pass the querystring into an index file.
It may need to be something like this,
"http://us.geocities.yahoo.com/forms/something.html?login=jonny_clydesdale"
Or something like this,
<form method="post" action="http://us.geocities.yahoo.com/forms">
<input type="hidden" name="login" value="jonny_clydesdale">

Also you should have quotes around each value, example: method="post" not method=post. Noticed alot of that in your code. Happy programming http://www.sysopt.com/forum/smile.gif


[This message has been edited by golfcart (edited 04-30-2001).]