Skip to content

Kirby 5.0.4

$blocksField->isSubmittable()

A field might have a value, but can still not be submitted because it is disabled, not translatable into the given language or not active due to a when rule.

$blocksField->isSubmittable(Kirby\Cms\Language $language): bool

Parameters

Name Type Default
$languagerequired Kirby\Cms\Language no default value

Return type

bool

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

Parent class

Kirby\Form\Field\BlocksField inherited from Kirby\Form\FieldClass