The following are examples on how to toggle the appearance (visible or enabled) of a control using an expression:
Inserting reference fieldsInline functions