Hi,
If you're referring to your trade form that's listed in the left side navigation, you have the good_url set to "thanks.htm" not "thankyou.php".
ginger
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Hi,
I am trying to set up a form and have it redirect to my thankyou.php file. I have reviewed the how-to on the site and have the following coding:
<input type="hidden" name="good_url"
value="http://tcg.starsuphigh.com/thankyou.php" />
Yet, it is still not redirecting and goes to the standard "form has been submitted" page. Any thoughts?
Thanks!
Hi,
If you're referring to your trade form that's listed in the left side navigation, you have the good_url set to "thanks.htm" not "thankyou.php".
ginger
Thank yo so much for that. I have had issues recently with changes uploading. I have it fixed but now I am getting this error:
The following error occurred in FormMail :
next_plus_good
**********
Error=The form has specified both "next_form" and "good_url" fields - the action to to perform is ambiguous
I haven't seen that error message, but it sounds like you've specified next_form which is a field used for multi-page forms, but I don't see that in the form's source code, so I'm not sure where that's coming from, unless it's a different form than the one I looked at. This is the form that I've been looking at: http://tcg.starsuphigh.com/trade.php
ginger
Thanks again, Ginger, for looking at this. I don't believe I have specified any next forms, as that's not needed at all. In fact, I'm not even entirely sure I would know how lol
I actually ended up re-uploading fresh files and it's working now. Odd.
Thank you even though I think I was just being dumb!
hi, why you don't call it in form ?
you can use
<form method="post" action="thankyou.php">
when you click submit this will redirect to thankyou.php . Or you can use regular onClick in <input type="submit" onclick="windows.redirect(thankyou.php)">
Good luck
________________________________________
www.sun-group.com.vn/gioi-thieu.html - sun group vietnam
Last edited by linhndd; 10-Jan-2012 at 04:54 AM.
This will work, but will redirect to the thank you page even if there is an error in submission. Using good url and bad url allows you to have a thank you page and an error page. Even without custom-generated errors, this will at least let a user know their form was not submitted.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks