def validate_country_5(self, country_5): if (self.mob.data == "Pays") and country_5.data: Validator.country(country_5)
def validate_country_1(self, country_1): if self.mob.data == "Pays": Validator.required(country_1) Validator.country(country_1)