Disable fields via web

Hi ,

When Loading form I using javascript to disable (not HIDING) fields , I have to do it for esch field , is there anyway to disable section or layer ?

any help ?

thanks & regards

Subject: disable fields via web

Dear Hajar,

Write one function with this code

function dis()

{

document.forms[0].name.disabled = true

document.forms[0].address.disabled = true

}

Call this function from load event of the form.

this helps u

Rishi

Subject: RE: disable fields via web

Hi ,Thanks for the answer , but this is what I am doning :

document.forms[0].xxx.disabled = true

since I am condition the disableing of set of fields I thought if there is something to block these field in section and then disable that section instead of naming all the fields …

Any Idea ???

Thanks and regards

Subject: disable fields via web

hi !!

well u can use a loop and check all the elements in the webpage…if it is equivalant to text then make it disabled…

and call the function onLoad of body

kaushik das