\Kendo\UI\FormMessages

A PHP class representing the messages setting of Form.

Methods

clear

The text message displayed for the Form clear button.

Returns

\Kendo\UI\FormMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\FormMessages();
$messages->clear('value');
?>

optional

The text message displayed next to a field label when the items.label.optional option is set to true.

Returns

\Kendo\UI\FormMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\FormMessages();
$messages->optional('value');
?>

submit

The text message displayed for the Form submit button.

Returns

\Kendo\UI\FormMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\FormMessages();
$messages->submit('value');
?>
In this article
Not finding the help you need?