def on_text(self, dt): self.ids.next.disabled = not is_valid_email(self.ids.email.text)
def set_enabled(): next_button.setEnabled(tos_received and is_valid_email(email_e.text()))