Agree Before Entry

By Lee Underwood on Jan 26, 2007


Confirm your visitor’s approval by requiring their name before continuing on. Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site. Could be used with a cookie.

I agree
Please enter your name to show agreement:
I disagree


  • Created by: Lee Underwood
  • Web Site:
  • Posted: January 26, 2007

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: agreeBeforeEntry.js


Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document


Blog comments powered by Disqus