WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2007, 07:40 PM
WebProWorld Pro
 

Join Date: May 2004
Location: Austin, TX
Posts: 199
steve0 RepRank 0
Default "acceptance of terms" button before proceeding..

I have a client with an online store looking to implement an additional function.

They desire to have something in place that requires the customer to check/click
a box/button that signals that they, the customer, 'ACCEPTED' the terms of sale.
(it needs to be accepted only before the addition of the first item to the cart)

The shopping cart and checkout are handled by a third party on a
separate server and are not customizable so the mod must be done at the store level.

The items are POST'ed to this shopping cart via FORMs.
Each item is assigned to a form with a unique name, so there may be
15 or 20 "forms" on a page.

I am thinking something along the lines of a javascript to inhibit the
submission of the form until the acceptance value is 'true'.

Once 'true'.. a cookie/session could be set so as to suppress the javascript for
all subsequent additions to the cart (during that visit).

Does that make sense?

Any ideas or methodologies would be helpful.
__________________
Hardcore Programming Solutions and Coffee Drinker
Reply With Quote
  #2 (permalink)  
Old 08-12-2007, 09:17 AM
DaveSawers's Avatar
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 384
DaveSawers RepRank 1
Default Re: "acceptance of terms" button before proceeding..

You can certainly do that with JavaScript. Best way is to disable the form submit button until the user has accepted the terms. And you can certainly remember the setting in a cookie.

But what about those users who have Javascript disabled and/or won't accept cookies? For those users, it's better to keep some data in database tables on your server and use them to determine which user has added items to their cart, whether they've accepted the terms, etc. This also allows you to track users who didn't complete the checkout for some reason.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #3 (permalink)  
Old 08-15-2007, 07:51 PM
WebProWorld Pro
 

Join Date: Sep 2006
Location: Hawai'i
Posts: 169
Dinghus RepRank 0
Default Re: "acceptance of terms" button before proceeding..

Everybody always asks "what about those people who are so paranoid or in the dark ages?"

It is good to see a lot of websites now saying "You MUST accept cookies and have Javascript enabled to use this site".

Just like saying "No shirt, no shoes, no service".
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Women prefer "Gift Cards" to "Gifts". greeneagle Marketing Strategies Discussion Forum 0 12-11-2004 06:59 AM
Try this "I'm Feeling lucky button!" so funny :) jhlim Google Discussion Forum 5 11-09-2004 04:28 PM
Obscure "Links" Button ldylion214 Search Engine Optimization Forum 2 07-02-2004 07:49 PM
how do you disable "view source" button? apsadmin Graphics & Design Discussion Forum 15 06-05-2004 07:35 PM
"Close This Window" Button in Flash clambam Flash Discussion Forum 1 11-18-2003 02:03 PM


Search Engine Optimization by vBSEO 3.2.0