def get_forms_by_field(formset, field_info):
    """
    gets a list of forms from a formset based on a field_name/field_value pair
    :param formset:
    :param field_info:
    :return:
    """
    field_name, field_value = field_info.split('|')
    return formset.get_forms_by_field(field_name, field_value)