0

How To Add A Mandatory Check Box To Your Site

In this video you will learn how to add a check box to your website that must be checked before the visitor can take the next action step.

HERE IS THE CODE MENTIONED IN VIDEO:

Checkbox code

Put this t the very top of the page

—————————

$check = $_POST['checkbox1'];
if ($check == 1) {
header('location:http://www.yoururl.com/pageyouwanttodisplay.htm');
}
?>

————————————-

Put this in the body of the page where you want the checkbox to appear

————————————————

method=’post’>

Click inside the box and click submit to continue :

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.