Add required field for each value in enumeration field

I don’t know how to solve this prolem. My field ‘type’ is enumeration type and it has 4 values: percentage, price and contact. Canu please have me to add condition for each value in ‘type’ field? For example, if type’s value is percentage or price, the ‘discountValue’ field has to be required, if type’s value is contact, the ‘description’ field has to be required