Deactivate a component instead of hide


I found many examples on how to hide/show a component, but how about deactivate? I am using a YES/NO toggle control and when it is set to NO, I want to make other controls on the page visible but not editable.

Can you give me some example code?

1 person has
this question
This topic is no longer open for comments or replies.