Home » Scripts Miscellaneous Script

Agree Before Entry

2.0/5.0 (20 votes total)


JavaScript will only let you enter your name in this form if you indicate you agree to the terms by first clicking the I Agree radio button. If you agree, you can enter your name. But, if you disagree, you will not be able to enter or edit your name. When you disagree, the box is 'locked'. Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site.

You can only enter your name if you agree to the terms. (just a demo)

I agree
I disagree
Please enter your name:

JavaScript Functions:

HTML Script:

Add commentAdd comment (Comments: 0)  



Related Resources

Other Resources