Create a condition where fields are invalid if the value of one field test