How to disable control dynamically?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

How to disable control dynamically?

Hi!

I am trying to disable a control this way:

YAHOO.Bubbling.fire("disableControl", {'formId':'nss_docs_list', 'fieldId' : "cm:description"})

But it doesn't work (and always returns false). Please tell me how to disable a controls on form properly?

Thank you!