widgets\ActiveForm $fieldClass

$fieldClass public property The default field class name when calling field() to create a new field. See also $fieldConfig. public string $fieldClass = 'yii\widgets\ActiveField'

widgets\ActiveForm $errorSummaryCssClass

$errorSummaryCssClass public property The default CSS class for the error summary container. See also errorSummary(). public string $errorSummaryCssClass = 'error-summary'

widgets\ActiveForm $errorCssClass

$errorCssClass public property The CSS class that is added to a field container when the associated attribute has validation error. public string $errorCssClass = 'has-error'

widgets\ActiveForm $encodeErrorSummary

$encodeErrorSummary public property Whether to perform encoding on the error summary. public boolean $encodeErrorSummary = true

widgets\ActiveForm $enableClientValidation

$enableClientValidation public property Whether to enable client-side data validation. If yii\widgets\ActiveField::$enableClientValidation is set, its value will take precedence for that input field. public boolean $enableClientValidation = true

widgets\ActiveForm $enableClientScript

$enableClientScript public property Whether to hook up yii.activeForm JavaScript plugin. This property must be set true if you want to support client validation and/or AJAX validation, or if you want to take advantage of the yii.activeForm plugin. When this is false, the form will not generate any JavaScript. public boolean $enableClientScript = true

widgets\ActiveForm $enableAjaxValidation

$enableAjaxValidation public property Whether to enable AJAX-based data validation. If yii\widgets\ActiveField::$enableAjaxValidation is set, its value will take precedence for that input field. public boolean $enableAjaxValidation = false

widgets\ActiveForm $attributes

$attributes public property The client validation options for individual attributes. Each element of the array represents the validation options for a particular attribute. public array $attributes = []

widgets\ActiveForm $ajaxParam

$ajaxParam public property The name of the GET parameter indicating the validation request is an AJAX request. public string $ajaxParam = 'ajax'

widgets\ActiveForm $ajaxDataType

$ajaxDataType public property The type of data that you're expecting back from the server. public string $ajaxDataType = 'json'