File Validation

Configure how an identified file is validated

{% include "ddm_core/form_components/_basic_field.html" with field=form.exp_file_format %} {% include "ddm_core/form_components/_basic_field.html" with field=form.csv_delimiter %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_record_separator %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_field_separator %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_kv_separator %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_skip_header_lines %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_skip_footer_lines %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_ignore_blank_lines %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.txt_trim_whitespace %}
{% include "ddm_core/form_components/_basic_field.html" with field=form.expected_fields %} {% include "ddm_core/form_components/_checkbox_toggle_field.html" with field=form.expected_fields_regex_matching %}
{% if form.instance.pk %} {# Nested expected fields depend on a Nested loop path, which can only be configured once the Blueprint exists (see data_extraction.html). #}

{% include "ddm_core/form_components/_basic_field.html" with field=form.nested_expected_fields %} {% include "ddm_core/form_components/_checkbox_toggle_field.html" with field=form.nested_expected_fields_regex_matching %}
{% endif %}
{% include "ddm_core/components/info_collapsible.html" with extra_classes="mx-0" element_id="filevalidation" title="How the file validation works" include_path="ddm_datadonation/blueprint/info_collapsibles/block_file_validation.html" body="" %}