Makes some of the edit event fields conditional