Skip to content

Kirby 5.0.4

$fieldset->form()

Creates a form for the given fields

$fieldset->form(array $fields, array $input = [ ]): Kirby\Form\Form

Parameters

Name Type Default
$fieldsrequired array no default value
$input array [ ]

Return type

Kirby\Form\Form

This method modifies the existing $fieldset object it is applied to and returns it again.

Parent class

Kirby\Cms\Fieldset