Reply
Accept Terms and conditions form
Old 10-14-2005, 08:21 PM Accept Terms and conditions form
Average Talker

Posts: 24
Hi there,

I have created a "terms and conditions" form using a script for my website. I have named this form register1.php. Once users agree to terms, the get redirected to register2.php where they need to fill out their name, details,etc.

The problem that I'm having is that if users just type mywebsitename/register2.php, they get send directly to the registration page totally bypassing the "terms and conditions" (register1.php) form and I don't want that.

What can I add or what can I do to deny people access to register2.php if they haven't agreed to register1.php?(terms and conditions) maybe add a message saying that they need to agree to register1.php befoe gainning access to register2.php?


Thanks
emrique007 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-18-2005, 09:32 AM Accept "Terms & Conditions" Statement
Ultra Talker

Posts: 255
Location: NY
Hi emrique007,
As a matter of fact, I just found this "Accept Terms" script yesterday. It might be something you can use.

Hope this helps,
DianeD
DianeD is offline
Reply With Quote
View Public Profile Visit DianeD's homepage!
 
Old 10-18-2005, 11:53 AM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
That script sounds good, but only if the client has JavaScript enabled.
You could try several different approaches. You could just include a checkbox on the register2.php page with a pop-up of the terms or you could require that you visit register2.php from register1.php.

I'm not sure how its done in php (can do it in asp) but here is what you can do: create a script that is processed before all others

If referring page is not equal to "register1.php" then
go to register1.php
Else (this only leaves the possibility that they came from register1.php)
process the rest of the page.

The only issue I see with this is if you process the registration form in the same page, but if you don't then there shouldn't be a problem.

Dan
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 10-21-2005, 11:35 AM
Rufo's Avatar
Extreme Talker

Posts: 173
Quote:
Originally Posted by ExpressoDan
If referring page is not equal to "register1.php" then
go to register1.php
Note that this solution requires the user to have sending of referrers enabled (not everybody has!).


You'd probably be better off having one registration page, with the T&Cs and a check box to accept them at the top.

If you're desperate for the registration form to only be displayed once the T&Cs have been accepted, you could put both on a single page, and unhide a DIV containing the form once the user has clicked the accept button. This, however, would require javascript, so offers no real advantage over the DynamicDrive suggestion.


Rufo
__________________
mp3blog.us
Rufo is offline
Reply With Quote
View Public Profile Visit Rufo's homepage!
 
Old 10-21-2005, 12:04 PM
funkdaddu's Avatar
Web Design Snob

Posts: 636
Did none of the suggestions in this thread help?:
http://www.webmaster-talk.com/showthread.php?t=37431
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Old 10-21-2005, 12:13 PM
Rufo's Avatar
Extreme Talker

Posts: 173
Well spotted: emrique007 seems to be rather good at double posting.
__________________
mp3blog.us
Rufo is offline
Reply With Quote
View Public Profile Visit Rufo's homepage!
 
Reply     « Reply to Accept Terms and conditions form
 

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15087 seconds with 12 queries