Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

Form:Submissions Tag

This is how you fetch data and display data from form submissions. It works very much like the collection tag.

Example

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

Parameters

handle|is|in|form|formset

string

Specify the name of the form. Only required if you do not use the form:set tag, or don't have a form defined in the current context.

Variables

Variable Type Description

submission data

mixed

Each submission has access to all the submitted data.

date

Carbon object

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

no_results

boolean

true if no results.

total_results

integer

The total number of results, if any.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?