Script Categories

Forms >>> Accept Terms.

This Script allows your visitors or customers to accept your terms and conditions before proceeding by ticking a Check Box. If they don't agree, an exit box on the form takes them back to the home page.

I accept:

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function checkCheckBox(f){
if (f.agree.checked == false )
alert('Please check the box to continue.');
return false;
return true;
//  End -->
<form action="" method="POST" onsubmit="return checkCheckBox(this)">
I accept: <input type="checkbox" value="0" name="agree">
type="submit" value="Continue Order">
type="button" value="Exit" onclick="document.location.href='';">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).