Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-08-2004, 01:36 AM   #1 (permalink)
Inactive
 
Join Date: 03-20-04
Location: Michigan
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

a1c1e19 is liked by many
Send a message via Yahoo to a1c1e19
simple form fillout problem....

ok this is my code [code:1:e439519f0e]<form name="form1" method="post" action="http://www.weerddesigns.com/cgi-bin/cgiemail/cgi-bin/email.txt">
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>

<td width="344" height="22" align="left"><font size="+1">Name</font></td>
<td><input name="yourname" type="text"></td>
</tr>
<tr>

<td height="22" align="left"><font size="+1">E-mail adrress</font></td>
<td><input name="email" type="text"></td>
</tr>
<tr>

<td height="22" align="left" valign="top"><font size="+1">What is
the name of your business?</font></td>
<td><input name="website" type="text"></td>
</tr>
<tr>

<td height="22" align="left" valign="top"><font size="+1">Do you have
an existing Website?</font></td>
<td><input name="companyname" type="text"></td>
</tr>
<tr>

<td height="22" align="left"><font size="+1">Contact Phone number</font></td>
<td><input name="phone" type="text"></td>
</tr>
<tr>

<td height="22" align="left"><font size="+1">When is the best time
to contact you? (Time zone needed)</font></td>
<td><input name="contacttime" type="text"></td>
</tr>
<tr >
<td align="center" colspan="2">&nbsp;</td>
</tr>
<tr >

<td align="center" colspan="2"><font size="+1">Comments</font></td>
</tr>
<tr >
<td align="center" colspan="2"><textarea name="comments" cols="50" rows="10"></textarea></td>
</tr>
<tr >
<td align="center" colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2"align="center"><input name="" type="submit" value="Send e-mail">

&nbsp;&nbsp;
<input name="clear form" type="reset" value="Clear Form"></td>
</tr>
</table>

</form>[/code:1:e439519f0e]


that code above works with no problem the problem is when I input the line to redirect the submitter to a new page it cannot ever find the page and it is going to a completely opposite page I tell it to.

[code:1:e439519f0e]
<INPUT TYPE="hidden" NAME="success" VALUE="http://www.weerddesigns.com/contactsuccess.html">[/code:1:e439519f0e]

I get an error when put it anywhere in the form code including right under the form opening tag... I am puzzled. I have it working with the same type of coding on a different page and yet it doesn't work on this one. I am so frustraited with this. any help would be greatly appreciated. I am probably overlooking somthing stupid but hey we all know how that goes.
a1c1e19 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-08-2004, 04:42 AM   #2 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
NAME="success"

Are you sure that's what that should be? I am assuming that should be NAME="redirect" or something.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 10:50 AM   #3 (permalink)
Inactive
 
Join Date: 03-20-04
Location: Michigan
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

a1c1e19 is liked by many
Send a message via Yahoo to a1c1e19
Quote:
Originally Posted by Jazzee
NAME="success"

Are you sure that's what that should be? I am assuming that should be NAME="redirect" or something.
Yeah pretty sure when you say name success that is telling the form that upon success load this page as oppose to the script on success. unless I am wrong but pretty sure I am right
a1c1e19 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 11:22 AM   #4 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
OK. Never heard of that. But if you say so.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 11:27 AM   #5 (permalink)
Inactive
 
Join Date: 03-20-04
Location: Michigan
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

a1c1e19 is liked by many
Send a message via Yahoo to a1c1e19
Quote:
Originally Posted by Jazzee
OK. Never heard of that. But if you say so.
I can try rediredt but never herad of it let me give it a test run a min
a1c1e19 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 11:31 AM   #6 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
What you need to know is probably in the script that handles the form.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 11:33 AM   #7 (permalink)
Inactive
 
Join Date: 03-20-04
Location: Michigan
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

a1c1e19 is liked by many
Send a message via Yahoo to a1c1e19
nothing different hapends with the redirect in it is almost like the coding code]<INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.weerddesigns.com/contactsuccess.html">[/code] is not there
I dunno I am open to any other types of suggestions maybe I m not placing it in the right place on the form or something. I put the redirect under the submit button and under the first coding line in the form.
a1c1e19 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 11:53 AM   #8 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Show the site that you said it works on.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 12:56 PM   #9 (permalink)
Inactive
 
Join Date: 03-20-04
Location: Michigan
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

a1c1e19 is liked by many
Send a message via Yahoo to a1c1e19
nevermind it was somthing simple like I thought I had a wrong link in the success page spelled the page name wrong duh :-)

Thanks for the help


http://www.weerddesigns.com/contact.html
that is the page that it is on
a1c1e19 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-08-2004, 01:00 PM   #10 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
LOL Often small things that get overlooked. Glad you figured it out.
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Ajax for a simple web form? ladan Coding Forum 3 01-18-2007 02:24 AM
Simple PHP / Mysql form !! Kinetic_Mix Coding Forum 1 07-28-2006 01:18 PM
URGENT HELP!!! simple problem but I cant fix it... wulf2001 Coding Forum 5 02-16-2006 12:21 PM
Simple problem im having (frontpage) fosho flash Web Design Lobby 4 02-15-2006 07:28 PM
help with a very simple php form games_master Coding Forum 1 06-09-2004 10:25 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:39 PM.
© Copyright 2008 V7 Inc

Click Here