def merge_form_errors(form):
    """
    Combine all form errors (except hidden) into one list.
    """
    errors = list(form.non_field_errors())

    for field in form.visible_fields():
        errors += field.errors

    return errors