Creating an Opt In Box |
Creating an Opt In Box |
ukbsktbll |
Nov 13 2014, 11:09 AM
Post
#1
|
Group: Members Posts: 2 Joined: 13-November 14 Member No.: 21,805 |
I am pretty new to html. I am wanting to create an opt in box to gather peoples emails/information. I would like after the person fills out their information and clicks the submit button that it will link them to another site of my choosing. Any help with this would be greatly appreciated.
|
Christian J |
Nov 13 2014, 04:34 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
That's the normal behavior of a form: when submitted, the form will load the URL specified in its ACTION attribute (this URL also contains the server side script that processes the form submission). See also http://htmlhelp.com/faq/html/forms.html#form-howto
|
pandy |
Nov 13 2014, 04:49 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
If you want them to be sent to another page than one that contains the script, you need to modify the script so it redirects the browser to the URL in question last thing it does.
|
ukbsktbll |
Nov 13 2014, 06:53 PM
Post
#4
|
Group: Members Posts: 2 Joined: 13-November 14 Member No.: 21,805 |
Thanks for the responses. I review the link, it had some useful information. The issue is I am very new to html and don't really understand it well enough. I think I have found the way to create a form but am still unsure of how to send someone to another website once submitted.
|
pandy |
Nov 13 2014, 09:58 PM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Well, as said, if the script isn't embedded in your thank you page, you need to modify the script so it redirects to said page. Or generates it. Post in the server side scripting forum. Maybe someone can help you with that.
|
Christian J |
Nov 14 2014, 06:28 AM
Post
#6
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I am very new to html and don't really understand it well enough. I think I have found the way to create a form but am still unsure of how to send someone to another website once submitted. The script pandy mentioned isn't part of HTML, it's a separate language (such as PHP) that runs on the server. You can often find readymade such scripts on the web. |
pandy |
Nov 14 2014, 07:44 PM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I assumed he had one in place already since he didn't mention a problem with collecting the addies, just with the thankyou page.
|
Lo-Fi Version | Time is now: 23rd April 2024 - 11:15 AM |