PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old December 1st, 2012, 04:57 PM
legendrock7 legendrock7 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 1 legendrock7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 37 sec
Reputation Power: 0
Need help with agreement ticking box

hi, i created a "agreement page" & it has a box where you have to click it & then click the button to continue.

here's my code:
Code:
<p>
<form action="" method="post">
<input type="checkbox" name="terms" value="accept" > <strong><font color="#ffffff">I have 
read and agreed to these terms, and I am the owner of the paypal account and/or 
credit card being used</font></strong>&nbsp;                      <br><input onclick="window.location.href='http://www.tizenx-rsps-applications.com/donate/index.php'" type="button" value="Continue to donate" 

name="Tizenx_donate">
</form></p>


but you can click the button even if the box is there ( i know this is a html format *my code* so im guessing what i'm asking in, it's php required)

I NEED/want everyperson to click the box to be selected (checked) before clicking on the button to continue.


Example - Click on the box to be selected (checked) then you can proceed to click on the button to continue to the other page
if you're not getting it still

here's another example

Anyone can click on the button to continue on the other page, but i don't want that, i want the people to click on the button to be selected & then they can click on the button to continue on the other page.

please reply asap, i need this. Thanks!

Reply With Quote
Old December 2nd, 2012, 11:30 AM
DavidMR's Avatar
DavidMR DavidMR is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Galway
Posts: 1,437 DavidMR User rank is Lance Corporal (50 - 100 Reputation Level)DavidMR User rank is Lance Corporal (50 - 100 Reputation Level)DavidMR User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Month 3 Days 20 h 56 m 48 sec
Reputation Power: 9
how about having the button disabled or hidden at first, then use the onclick on the checkbox to enable it? (this is not a php issue)
__________________
When I die, I want to go peacefully like my Grandfather did, in his sleep -- not screaming, like the passengers in his car.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Need help with agreement ticking box


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap