Form Widget Tag

Display a list of the most recent form submissions.

form.png Fieldtype UI
Behold! The Form Widget!

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' => [
'getting_started',
[
'type' => 'form',
'form' => 'contact',
'fields' => ['name', 'email'],
'limit' => 10,
],
],
php

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.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →