HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Hi New Here Need Form Redirect Code Help +
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
loriG



Joined: 06 Feb 2008
Posts: 2

PostPosted: Wed Feb 06, 2008 2:44 pm     Hi New Here Need Form Redirect Code Help + Reply with quote

I want visitors redirected to another page http://robertsonagency.almahelp.com/after filling out the form and info emailed to me. Don't know if my commands are right?

Thx, in advance

Need code to specify fields to fill out

Some of my code

Thanks in advance, lori

My website http://foreclosurerepairshop.com/

<FORM ACTION="/cgi-bin/mycgi.pl">
<form method="post" action= mailto:lori.investoratxxxx.com
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="robertsonagency.almahelp.com html" />
</td>

<div align="center"><font color="#000080" size="2"></font>&nbsp;<font color="#000080"><strong>Last Name:&nbsp;&nbsp; </strong></font><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="background-color: #ffffa0" name="favecolor" type="text" /><font color="#000080"><strong> <br />
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8301
Location: Castle Pines North, CO USA

PostPosted: Wed Feb 06, 2008 3:28 pm     Reply with quote



Since you were not really introducing yourself, I moved your post to a better zone.

I do not know that much about CGI but you ask if your commands are correct... Does the form work? It seems that you are relying on the user's email program to process the form. Are you getting a message about something wanting to use your e-mail program?

_________________
Corey
Residential Office Solutions | Mile High Merchant Accounts | Expression Web Blog
madprof



Joined: 26 Jan 2008
Posts: 98

PostPosted: Wed Feb 06, 2008 3:29 pm     Reply with quote

Can you show us the code in the .pl file as well?

Without seeing this it is impossible to tell, although I'm going to hazard a guess straight off that you want to change:
Code:

<input type="hidden" name="redirect" value="robertsonagency.almahelp.com html" />

to
Code:

<input type="hidden" name="redirect" value="robertsonagency.almahelp.com" />


But this is a total guess. Without seeing the code for the Perl script it is impossible to give you a proper answer.
loriG



Joined: 06 Feb 2008
Posts: 2

PostPosted: Thu Feb 07, 2008 9:29 am     Thanks Very Much!! Reply with quote

My hosting service worked with me last nite and I have the redirect code all taken care of, the page is working fine. Now I need code to specify fields that must be filled in before visitor can proceed, where to place it. Almost there Whew!!

This is the code and may help others too

<form action="gdform.asp" method="post"> <form method="post" action= mailto:lori.investoratxxxx.com<input type="hidden" name="subject" value="Form Submission" /><input type="hidden" name="redirect" value="redirect.html" /></td>

Seperate Page/file uploaded to Hosting co.
<html>
<head><title></title></head>
<body><script type="text/javascript" language="JavaScript">
window.location="http://robertsonagency.almahelp.com/";
</script></body>
</html>

Is this code correct for specifying #'s. I picked it up somewhere?

<INPUT NAME="phone" SIZE=2 MAXLENGTH=5 onKeyPress="return numbersonly(this, event)"><INPUT NAME="phone" SIZE=3 onKeyPress="return numbersonly(this, event, 'phone')">

www.foreclosurerepairshop.com


I don't know what a pl file is Rolling Eyes

Thanks Again, lori
madprof



Joined: 26 Jan 2008
Posts: 98

PostPosted: Thu Feb 07, 2008 11:46 am     Reply with quote

Lots to go through here!

- good job your hosting service worked with you to tell you where to point your form, it seems to work Smile
- unless anyone is using an identical script to gdform.asp they won't be able to use your HTML. There is no standard way of submitting redirect fields to a form like this, it is just whatever was chosen at the time it was written
- your HTML code on the page has a broken <form> tag in there:
Code:

<form method="post" action= mailto:lori.investoratyahoo.com

You can get rid of this as your form is doing something different
- the numbers fields don't work as there is no javascript function called numbersonly - maybe you have this somewhere to add in?
- the pl file referred to the previous script you were pointing the form at - mycgi.pl - but as you are using ASP don't worry about any of this! You did the right thing in talking to your hosting service.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial