Disable Form Controls | JavaScriptSource

Disable Form Controls

Paul McFedries Feb 9, 2005
Here's a simple form that contains a check box and a text box. Unless the check box is activated, you won't be able to enter anything into the text box.
To enter your name below, activate (check) this box.


The JavaScript Source: Forms: Disable Form Controls

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response