Form Widget
Display a list of the most recent form submissions.
Configuring#
Widgets can be added to the dashboard by modifying the widgets array in the config/statamic/cp.php file.
// config/statamic/cp.php
'widgets' => [
[ 'type' => 'form',
'form' => 'contact',
'fields' => ['name', 'email'],
'limit' => 10,
], ],
Options
form
string
required
The form's handle.
width
int
Width of dashboard area as a percentage. Accepts `25`, `33`, `50`, `66`, `75` and `100`.
sites
array
Determines the sites in which this widget should be displayed.
limit
int
Limit number of submissions. **Default: 5**.
fields
array
An array of field handles to include in the list.
title
string
The title of the widget. Defaults to the form name.