Setting field/UI properties based on conditions

Related topic that is a piece of this feature request: Conditional fields in apps.