473,401 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Implementing an 'Agree to Terms' popup

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 3024
pbmods
5,821 Expert 4TB
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 Expert Mod 8TB
Moved from the Articles section. Please do not post questions in the Articles section.
Sep 6 '07 #3
Thanks ... hopefully someone can help me now. :)
Sep 7 '07 #4
pbmods
5,821 Expert 4TB
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
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 Expert 4TB
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
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...
7
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...
0
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...
2
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...
5
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:...
0
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"...
1
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"...
6
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...
2
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.