|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am using FormMail.pl-
I swear I have seen something that can redirect to a (URL) page from a form, based on the user's selection (after clicking submit). However I have been unable to find this value anywhere. I know how to make a redirect menu/list for a page, this will not work for waht I need. Any ideas or suggestions are desperately needed... Thanks in advance for your help.
__________________
Website consulting and design for... small business, home based companies, personal or hobby websites http://twopooches.com/ |
|
|||
|
There are countless variations of the FormMail.pl script, so it is difficult to comment without seeing the actual script. If your referring to the one from Matt's script archive, I believe there is a hidden field required in the the actual HTML form which is "hidden" like so...
Code:
<input type="hidden" name="redirect" value="http://myplace.com/thankyou.html"> Code:
<SELECT name="redirect"> <OPTION>http://www.option-a.com</OPTION> <OPTION>http://www.option-b.com</OPTION> <OPTION>http://www.option-c.com</OPTION> <OPTION>http://www.option-d.com</OPTION> <OPTION>http://www.option-e.com</OPTION> </SELECT>
__________________
PBI Tech James R Michael. Internet Development And Marketing. |
|
|||
|
Thanks Jim,
I just dont see where to specify the option to alert the correct redirect URL. Most of the scripts I have looked at have something that says "if selected". I will give it a shot to see what happens. Without getting into a big deal with this I hope to figure out something....
__________________
Website consulting and design for... small business, home based companies, personal or hobby websites http://twopooches.com/ |
|
|||
|
All I have to work with is your contact.htm page on your site. Within the HTML code on that page you'll see a form, and within that form you have this...
Code:
<input type="hidden" name="redirect" value="http://twopooches.com/thanks.htm"> Code:
<SELECT name="redirect"> <OPTION>http://www.option-a.com</OPTION> <OPTION>http://www.option-b.com</OPTION> <OPTION>http://www.option-c.com</OPTION> <OPTION>http://www.option-d.com</OPTION> <OPTION>http://www.option-e.com</OPTION> </SELECT> All you have to do is change the "www.option-a .com" and so on in the above example to the URLs you would like available for the user to choose from. However, if you are using some software to generate your HTML pages and are not comfortable with hard code, I can't be of much help, and would't recommend messing around with it if you are not comfortable. Yet, it is a fairly simple and quick task with only a notepad. Jim
__________________
PBI Tech James R Michael. Internet Development And Marketing. |
|
|||
|
here is the URL of what I am trying to do...
http://referbizsales.com/referform.htm when the user selects either option and then clicks submit I want them to be redirected to 2 different pages based upon their selection... This may help you see what my problem is. I tried the option list similar to what you showed and it did not work. (Hidden redirect field) I am able to work with code. It is just that I have a hard time expressing the code issues. How does the script know which option URL goes with a selection... Thanks again..I am sure I am being very blonde and causing you to pull your hair out...:)
__________________
Website consulting and design for... small business, home based companies, personal or hobby websites http://twopooches.com/ |
|
|||
|
I was able to see what you mean't... the problem was that it was to simple (I was looking for something harder)... Thank you
__________________
Website consulting and design for... small business, home based companies, personal or hobby websites http://twopooches.com/ |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |