473,588 Members | 2,527 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Implementing an 'Agree to Terms' popup

5 New Member
Okay, guys, if it seems I don't know a whole lot it's because I don't. I create and edit websites using Hot Dog Pro and have done very rudamentary HTML language on my own.

Here's my challenge. I need to create a popup upon checkout that the customer needs to click acknowledging they agree to the shipping/guarantee terms of the vendor before completing their transaction.

You know when you are installing software you get those popups that contain a license agreement and two little buttons at the bottom saying I Accept or I Decline as far as the terms of the license agreement? Well I need something like that so that after adding the items they want to their shopping cart when the customer clicks on checkout one of those boxes pops up and it would contain the shipping/guarantee information for the vendor and the customer would need to acknowledge they have read the shipping/guarantee policy and agree to its terms before being able to continue with their checkout. After they click I Agree the popup would disappear and they would continue on to the next step of the checkout.

The business uses Yahoo Small Business as their store front if this helps and anyone is familiar with that service.

CAN ANYONE HELP ME PLEASE????

Thank you so much. I am definitely over my head on this one!

C
Sep 5 '07 #1
6 3051
pbmods
5,821 Recognized Expert Expert
Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).
Sep 6 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
Moved from the Articles section. Please do not post questions in the Articles section.
Sep 6 '07 #3
webspinster
5 New Member
Thanks ... hopefully someone can help me now. :)
Sep 7 '07 #4
pbmods
5,821 Recognized Expert Expert
Heya, WebSpinster.

The easy way to do it:

Expand|Select|Wrap|Line Numbers
  1. <form id="thePfhorm" ... >
  2. .
  3. .
  4. .
  5. <input type="submit" onclick="if( prompt('Do you agree to these terms?') ) return true; else window.location.href = 'refuseTerms.html';" value="Continue -&gt;" />
  6.  
This code will create a button. When the User clicks on the button (and has JavaScript enabled), he will be prompted to agree to the terms. If he clicks cancel, he will be taken to the refuseTerms page. If he clicks OK, the form will submit his information.

The one caveat is that if the User doesn't have JavaScript enabled, he will not see the prompt. This is why we're using a submit input; the default action is to submit the form.

As if anybody ever reads those things anyway :P
Sep 7 '07 #5
webspinster
5 New Member
PB - thank you so much ... I am reallly looking forward to implementing this feature!!

I am so glad I found this place! :)

C
Sep 8 '07 #6
pbmods
5,821 Recognized Expert Expert
Heya, C.

Let us know how it goes.

Good luck with your project, and if you ever need anything, post back anytime :)
Sep 9 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

53
7334
by: Bill | last post by:
Hello Programmers, I am looking for either Java Script (OR HTML etc) to DEFEAT Pop-up Stoppers e.g It will bring up a window that will LOOK like a Pop-up FEEL like a Pop-up Allow a name and e-mail entry BUT is not affected by Popup Stopper, PopUp Killer etc
7
4751
by: Ian Shere | last post by:
I have an FAQ page on my site, but, because much of the information could be relative to the area council's bylaws, I want to have a pop-up window appear when someone clicks the "FAQ's" menu button. In the window will be my disclaimer regarding the use of the information on the FAQ's page, and then I want them to click either "I agree" (action will close pop-up and direct them to FAQ's page) or "I disagree" (action will close pop-up and...
0
1425
by: Deano | last post by:
I have a main/subform arrangement which works well. The main form's parent records are about employees. The subform calculates their salary. I have now decided that the user can enter some splits in a popup form that I have built. So they click the Splits button and they can enter e.g 0.4 and 0.6 or any combination as long as it comes back to 1 (the reason for this is so they can allocate parts of the salary to different code areas)....
2
1690
by: Andrew Quine | last post by:
Hi Short one: looking for a good example and an explanation of such enumerators. I know MessageEnumerator and ResourceReader do this, for example, but what is the implementation of the enumerator doing that needs a Dispose of its own? Cheers! Andrew Quine
5
1099
by: ech0 | last post by:
I would appreciate any help I can get in finding a solution to the following problem: ================================================================== Below is a diagram: http://www.muchographiks.com/algo.jpg THE PROBLEM
0
1697
by: R.A.M. | last post by:
Hello, I need to implement popup calendar in ASP.NET application. I created a button opening popup calendar on 'master' page: <asp:Button ID="Calendar" runat="server" Text=Calendar" OnClientClick= "window.open('Calendar.aspx', 'Calendar', 'menubar=no, location=no, personalbar=no, status=no, resizable=no, scrollbars=no, width=200, height=200');" />
1
2727
by: R.A.M. | last post by:
Hello, I need to implement popup calendar in ASP.NET application. I created a button opening popup calendar on 'master' page: <asp:Button ID="Calendar" runat="server" Text=Calendar" OnClientClick= "window.open('Calendar.aspx', 'Calendar', 'menubar=no, location=no, personalbar=no, status=no, resizable=no, scrollbars=no, width=200, height=200');" />
6
3977
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; }
2
2040
by: webspinster | last post by:
Okay, guys, if it seems I don't know a whole lot it's because I don't. I create and edit websites using Hot Dog Pro and have done very rudamentary HTML language on my own. Here's my challenge. I need to create a popup upon checkout that the customer needs to click acknowledging they agree to the shipping/guarantee terms of the vendor before completing their transaction. You know when you are installing software you get those popups that...
0
7929
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7860
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6634
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5726
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2371
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1458
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.