WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Terms and Conditions Check box

[Resolved] Terms and Conditions Check box

  • Hello WP community,

    On my website, I sell tickets to events and I want to require users to click ‘Agree to terms’ button before they are shown the purchase link.

    I am currently using Paypal as my payment portal. Paypal provides a button that redirects users to their site for payment. I would like this button to be hidden until the user click a radio button acknowledging their acceptance to the terms and conditions I set.

    I suppose there are probably plugins that do this, otherwise, would someone like to point me in the right direction as to coding?

    Thank you.
    Diego

Viewing 2 replies - 1 through 2 (of 2 total)
  • <script>
    function showMe (it, box) {
    var vis = (box.checked) ? “block” : “none”;
    document.getElementById(it).style.display = vis;
    }
    </script>

    <form>
    <input type=”checkbox” name=”c1″ onclick=”showMe(‘paypal-button’, this)” unchecked> I have read and agree to the disclaimer.
    </form>

    hello.. in the example below where foes the code for the paypal buttona actually go?

    The checkbox and everything show up fine. But can still click the buy button without ticking the checkbox.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Terms and Conditions Check box’ is closed to new replies.
Skip to toolbar