View Full Version : Form redirect issues
saintofspinners
11-8-07, 03:31 PM
Hi
I am using formMail and my redirect always brings me back to powweb default of 'your form has been sent". I want the redirect to go to my home page. I am trying...
<form method=" post" action="http://www.powweb.com/scripts/formemail.bml">
<input type="hidden" name="my_email" value="isaint[at]ekit.com">
<input type="hidden" name="subject" value="Website Contact Form">
<input type="hidden" name="return_link_url" value="www.saintofspinners.com">
<table ...
i have also changed the
<input type="hidden" name="return_link_url" value="www.saintofspinners.com">
to
<input type="hidden" name="redirect" value="www.saintofspinners.com">
and
<input type="hidden" name="thankyou_url" value="www.saintofspinners.com">
but each brings me the same result.
Can you tell me what I am doing wrong? Is the input field in the wrong section?
thanx in advance
YvetteKuhns
11-8-07, 04:42 PM
<input type="hidden" name="return_link_url" value="http://www.saintofspinners.com">
You forgot http:// in front of your domain name. ;)
saintofspinners
11-8-07, 06:39 PM
no that didnt work either. still taking me back to the powweb page
http://www.powweb.com/scripts/formemail.bml
is the mistake in the <form method...> ?
YvetteKuhns
11-10-07, 11:01 AM
Your code shows a space before the word "post" which should not be there. I never recommend using the form script provided by the web host, so I don't know if that URL is correct. You should install a script (http://powerpageswebdesign.com/paul/simpleformscript.zip) on your own server.
tpoynton
11-10-07, 11:21 AM
how about a link to the page, and the knowledgebase article explaining how to use it?
I think if the powweb form processing script will work for you, you should use that - they then take care of security issues (ostensibly). Yvette and I disagree on this (respectfully?)
YvetteKuhns
11-10-07, 11:34 AM
PowWeb form processing (http://members.powweb.com/member/formEmail.bml)
Is your CGI enabled or correct?
tpoynton
11-10-07, 12:09 PM
according to the lnk Yvette kindly provided,
<input type="hidden" name="thankyou_url" value="yoururl">
is how you specify the page seen after submission. you are using a different hidden tag.
you dont need the forward slash to close input tags, although I doubt this is the issue. in source view in FF, these are pointed out for you.
you also specify a form class, but I dont see it defined. I know diddly about CSS, but it just seems odd.
again unrelated, you seem to have pictures that are on your local computer in the code.
I've seen it work before, and I'm pretty sure you dont need CGI enabled, as it doesnt use your account to process. good luck
YvetteKuhns
11-10-07, 12:43 PM
<input type="hidden" name="thankyou_url" value="http://www.saintofspinners.com">
All urls should include the http:// or simply use the index page name. Or you can use http://www.saintofspinners.com/index.htm or whatever the absolute URL of your index page is. Your thank you url can be the same as your redirect url.
If you showed us the actual web page, we could give you specific advice.
tpoynton
11-10-07, 12:47 PM
http://www.saintofspinners.com/contact.html
<input type="hidden" name="thankyou_url" value="http://www.saintofspinners.com/index.html">
YvetteKuhns
11-10-07, 01:06 PM
Thanks for the link. I am doing a bunch of things at one time, so that is convenient.
<input type="hidden" name="return_link_url" value="http://www.saintofspinners.com/index.html">
<input type="hidden" name="thankyou_url" value="http://www.saintofspinners.com/index.html">
I tested the form and see that the redirect does not work (yet). You WILL need the absolute URL when using the PowWeb form script. You could remove the slash or add index.html to the URL.
tpoynton
11-10-07, 01:19 PM
"return_link_url" is not listed as a hidden tag attribute by my read of the kb article; stick to thankyou_url
hopefully Yvette is right about needing the absolute url, as that would explain your problem
YvetteKuhns
11-10-07, 01:43 PM
I should have edited my post to replace return_link_url with thankyou_url. You could have both and that wouldn't hurt it, but why have unnecessary code? Since the script is in another location, you DO need to use the absolute URL. Now you can see why I mention installing your own script. ;)
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.