def get_name(data_store, form_value):
    """
    Gets the name of the user from the form field and stores it in the
    data_store. If no name is given, causes an error to be displayed.
    """
    if form_value:
        data_store["name"] = form_value
        return "hello"
    else:
        return "error"