{% extends "base.html" %} {% load form_filters %} {% block title %}{{ form.name }} - Submission Details{% endblock %} {% block content %}

Submission Details

{{ form.name }}

Back to Submissions Preview Form

{{ submission.id }}

Submission ID

{{ submission.submitted_at|date:"M d, Y" }}

Submitted

{{ responses|length }}

Fields Completed
Submission Information
{% if submission.submitted_by %} {% endif %}
Form: {{ form.name }}
Submitted: {{ submission.submitted_at|date:"F d, Y H:i" }}
Submitted By: {{ submission.submitted_by.get_full_name|default:submission.submitted_by.username }}
{% if submission.applicant_name %} {% endif %} {% if submission.applicant_email %} {% endif %}
Applicant Name: {{ submission.applicant_name }}
Email: {{ submission.applicant_email }}
Submitted Responses
{% for stage in stages %}
{{ stage.name }}
{% get_stage_responses stage_responses stage.id as stage_data %} {% if stage_data %}
{% for response in stage_data %} {% endfor %}
Field Label Field Type Response Value File
{{ response.field.label }} {% if response.field.required %} * {% endif %} {{ response.field.get_field_type_display }} {% if response.uploaded_file %} File: {{ response.uploaded_file.name }} {% elif response.value %} {% if response.field.field_type == 'checkbox' and response.value|length > 0 %}
    {% for val in response.value %}
  • {{ val }}
  • {% endfor %}
{% elif response.field.field_type == 'radio' %} {{ response.value }} {% elif response.field.field_type == 'select' %} {{ response.value }} {% else %}

{{ response.value|linebreaksbr }}

{% endif %} {% else %} Not provided {% endif %}
{% if response.uploaded_file %} Download {% endif %}
{% else %}

No responses submitted for this stage.

{% endif %}
{% if not forloop.last %}
{% endif %} {% empty %}

No stages found

This form doesn't have any stages defined.

{% endfor %}
All Responses (Raw Data)
{% get_all_responses_flat stage_responses as all_responses %} {% if all_responses %}
{% for response in all_responses %} {% endfor %}
Stage Field Label Field Type Required Response Value File
{{ response.stage_name }} {{ response.field_label }} {% if response.required %} * {% endif %} {{ response.field_type }} {% if response.required %} Yes {% else %} No {% endif %} {% if response.uploaded_file %} File: {{ response.uploaded_file.name }} {% elif response.value %} {% if response.field_type == 'checkbox' and response.value|length > 0 %}
    {% for val in response.value %}
  • {{ val }}
  • {% endfor %}
{% elif response.field_type == 'radio' %} {{ response.value }} {% elif response.field_type == 'select' %} {{ response.value }} {% else %}

{{ response.value|linebreaksbr }}

{% endif %} {% else %} Not provided {% endif %}
{% if response.uploaded_file %} Download {% endif %}
{% else %}

No responses found for this submission.

{% endif %}
{% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {% endblock %}