The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Creating an Opt In Box
ukbsktbll
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 13 2014, 04:34 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,653
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
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ukbsktbll
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Nov 14 2014, 06:28 AM
Post #6


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



QUOTE(ukbsktbll @ Nov 14 2014, 12:53 AM) *

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.
User is online!PM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 06:58 PM