Disable/Enable Form

S

Shabam

Is there a way to present a form to a user by default with all forms
disabled, then when user clicks a link, the fields become enabled?
 
R

Randy Webb

Shabam said:
Is there a way to present a form to a user by default with all forms
disabled, then when user clicks a link, the fields become enabled?

function disableAll(){
//loop through all form elements and set them to disabled = true.
}

function enableAll(){
//loop through all form elements and set them to disabled = false.
}

Call disableAll either from the body tag or from window.onload.
Search the archives for "disable all form elements"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top