Submissions

Iterate over and display data from form submissions.


Usage

This tag has the same functionality as the collection tag, with exception that the collection is of form submissions rather than entries.

{{ form:submissions in="feedback" }}
    <div>
        Submitted on {{ date }}
        Name: {{ name }}
        Rating: {{ rating }}
        Comment: {{ comment }}
    </div>
{{ /form:submissions }}

Parameters

formset|in

string

The name of the formset this tag should be targeting. This is only required if you do not use the form:set tag, or if you don't have a formset defined in the current context.


Variables

submission data

mixed

Each submission being iterated has access to all the field names as variables.

date

Carbon|string

Along with the submission data, all submissions will contain the date they were submitted.

Last modified on September 11, 2016