How to create checkbox style like this

by 5 replies
6
I want to know how to create checkbox style like this example :
Belinda Benn's Get Lean Program :: Belinda Benn - Your Australian Transformation Coach

If they keep the box checked, they will go to the default payment page

I they UN-check the box, and then click the order button, they will be taken to second payment page.
#programming #checkbox #create #html #order #style
  • If the second webpage is in php file format then this could help.

    Let the Form Action be to go to the second page and the Method be POST

    Then on the top of the second page, you use the PHP IF ISSET

    <?php
    if ( isset ($_POST['CheckBoxName'])){
    header ('location: LinkToCheckOut');
    }
    else
    {
    ?>

    the second page codes goes here

    <?php } ?>
    • [1] reply
    • Thanks christogonus,

      you're a genius :-)
  • You are welcomed Marioxiao
  • when I view the site in the browser (IE6) and I click on the radio button, IE displays 'Error on Page' with the caution sign in the bottom-left corner. When I click it for more details it states "Could not get the type property. This command is not supported. This error is in relation to the line;
    • [1] reply
    • IE 6??... you should think about updating.

Next Topics on Trending Feed