diff --git a/en/views/helpers/form.rst b/en/views/helpers/form.rst index f04d057957..d0b6376a1e 100644 --- a/en/views/helpers/form.rst +++ b/en/views/helpers/form.rst @@ -101,7 +101,7 @@ Output: .. code-block:: html
- + .. note:: @@ -377,7 +377,7 @@ methods of FormHelper. By default the ``control()`` method will employ the following widget templates:: 'inputContainer' => '
{{content}}
' - 'input' => '' + 'input' => '' 'requiredClass' => 'required' In case of validation errors it will also use:: @@ -567,11 +567,11 @@ as well as HTML attributes. This subsection will cover the options specific to
- +
- +
* ``$options['label']`` - Either a string caption or an array of @@ -591,7 +591,7 @@ as well as HTML attributes. This subsection will cover the options specific to
- +
Alternatively, set this key to ``false`` to disable the generation of the @@ -606,7 +606,7 @@ as well as HTML attributes. This subsection will cover the options specific to .. code-block:: html
- +
If the label is disabled, and a ``placeholder`` attribute is provided, the @@ -631,7 +631,7 @@ as well as HTML attributes. This subsection will cover the options specific to
- +
* ``$options['options']`` - You can provide in here an array containing @@ -830,7 +830,7 @@ Will output: .. code-block:: html - + Creating Textareas ------------------ @@ -987,8 +987,8 @@ methods are described in each method's own section.) .. code-block:: html - - + + This can be disabled by setting ``'hiddenField'`` to ``false``:: @@ -1011,34 +1011,34 @@ methods are described in each method's own section.) .. code-block:: html

Primary Colors

- +

Tertiary Colors

- + @@ -1612,7 +1612,7 @@ Output: .. code-block:: html - + The value for the input can be any valid datetime string or ``DateTime`` instance. @@ -1624,7 +1624,7 @@ Output: .. code-block:: html - + Creating Date Controls ~~~~~~~~~~~~~~~~~~~~~~ @@ -1646,7 +1646,7 @@ Output: .. code-block:: html - + Creating Time Controls ~~~~~~~~~~~~~~~~~~~~~~ @@ -1668,7 +1668,7 @@ Output: .. code-block:: html - + Creating Month Controls ~~~~~~~~~~~~~~~~~~~~~~~ @@ -1690,7 +1690,7 @@ Will output: .. code-block:: html - + Creating Year Controls ~~~~~~~~~~~~~~~~~~~~~~ @@ -1877,7 +1877,7 @@ the field's required and notBlank validation rules will be used in lieu of the d browser HTML5 required messages. Enabling the option will add the ``onvalid`` and ``oninvalid`` event attributes to your fields, for example:: - + If you want to manually set those events with custom JavaScript, you can set the ``autoSetCustomValidity`` option to ``false`` and use the special ``customValidityMessage`` template variable instead. This @@ -1917,7 +1917,7 @@ relative to *webroot/img*. By default it will use the following widget templates:: - 'inputSubmit' => '' + 'inputSubmit' => '' 'submitContainer' => '
{{content}}
' **Options for Submit**