Deactivate a component instead of hide

Hello,

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?

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