Attribute linkage

How to realize the linkage display of attributes?  For example, if ZZJN_DataStatus is set to 01, the attribute ZZJN_CodNumber is not displayed.  When ZZJN_DataStatus selects 02, the attribute ZZJN_CodeAttributeAcceptOrNot is not displayed