iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar 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.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2007, 08: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, 10:17 AM
DaveSawers's Avatar
WebProWorld Veteran
 
Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 492
DaveSawers RepRank 3DaveSawers RepRank 3
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, 08:51 PM
WebProWorld Pro
 
Join Date: Sep 2006
Location: Hawai'i
Posts: 269
Dinghus RepRank 2
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

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

BB 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 07:59 AM
Try this "I'm Feeling lucky button!" so funny :) jhlim Google Discussion Forum 5 11-09-2004 05:28 PM
Obscure "Links" Button ldylion214 Search Engine Optimization Forum 2 07-02-2004 08:49 PM
how do you disable "view source" button? apsadmin Graphics & Design Discussion Forum 15 06-05-2004 08:35 PM
"Close This Window" Button in Flash clambam Flash Discussion Forum 1 11-18-2003 03:03 PM


All times are GMT -4. The time now is 08:31 AM.



Search Engine Optimization by vBSEO 3.3.0