Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, 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 →