CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2012
    Posts
    1

    Need help with agreement ticking box

    Hi, i need help, i made a form that you can click the box (ticking the box) & the button to redirect somewhere, but you can click on the button Without clicking on the box to click the button to proceed.

    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>
    I know it's html format, but i think it involves php to.

    please help asap, thanks!

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Need help with agreement ticking box

    In the PHP form processing...just use isset() to see if the checkbox is checked.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured