def METHOD_NAME(self, widget, **kwargs):
    # Disable all the text inputs
    for input in self.inputs:
        input.enabled = False
    # Update the labels with the extracted values
    self.text_label.text = "Text content: {}; {}".format(
        self.text_input.value,
        self.text_input_placeholder.value,
    )
    self.password_label.text = "Your password is {}: {}".format(
        "valid" if self.password_input.is_valid else "invalid",
        self.password_input.value,
    )
    try:
        number = self.number_input.value + self.right_aligned_number_input.value
        self.number_label.text = (
            f"The sum of {self.number_input.value} and "
            f"{self.right_aligned_number_input.value} is {number}."
        )
    except TypeError:
        self.number_label.text = "Please enter a number in each number input."
    # Wait a few seconds
    for i in range(2, 0, -1):
        self.label.text = f"Counting down from {i}..."
        yield 1
    self.label.text = "Enter some values and press extract."
    # Re-enable the inputs again.
    for input in self.inputs:
        input.enabled = True