def get_dataframe_name(s):
    """
    Split dataframe and variable name from dataframe form field names (e.g. "___<var_name>___<dataframe_name>__").

    Args:
        s (str): The string

    Returns:
        2-tuple<str>: The name of the variable and name of the dataframe. False if not a properly formatted string.
    """
    # Return tuple with variable_name, and dataframe_name if the type is dataframe.
    if s[-2:] == "__":
        s = s[:-2]
        dataframe_name = s.split("___")[-1]
        variable_name = s.split("___")[0]
        return variable_name, dataframe_name
    else:
        return False