def METHOD_NAME(form_elt, name, email, affiliation, country):
    """Fill in an author form on the edit authors page
    The form_elt input should be an element containing all the relevant inputs.
    """
    # To enter the person, type their name in the select2 search box, wait for the
    # search to offer the result, then press 'enter' to accept the result and close
    # the search input.
    person_span = form_elt.find_element(By.CLASS_NAME, 'select2-selection')
    self.scroll_to_element(person_span)
    person_span.click()
    input = self.driver.find_element(By.CSS_SELECTOR, '.select2-search__field[aria-controls*=author]')
    input.send_keys(name)
    result_selector = 'ul.select2-results__options[id*=author] > li.select2-results__option--selectable'
    self.wait.until(
        expected_conditions.text_to_be_present_in_element(
            (By.CSS_SELECTOR, result_selector),
            name
        ))
    input.send_keys('\n')  # select the object
    # After the author is selected, the email select options will be populated.
    # Wait for that, then click on the option corresponding to the requested email.
    # This will only work if the email matches an address for the selected person.
    email_select = form_elt.find_element(By.CSS_SELECTOR, 'select[name$="email"]')
    email_option = self.wait.until(
        presence_of_element_child_by_css_selector(email_select, 'option[value="{}"]'.format(email))
    )
    email_option.click()  # select the email
    # Fill in the affiliation and country. Finally, simple text inputs!
    affil_input = form_elt.find_element(By.CSS_SELECTOR, 'input[name$="affiliation"]')
    affil_input.send_keys(affiliation)
    country_input = form_elt.find_element(By.CSS_SELECTOR, 'input[name$="country"]')
    country_input.send_keys(country)