Skip to content

Commit

Permalink
minor #3988 fix typos. (yositani2002)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

fix typos.

two notes and one caution dose not show.

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

5402121 fix typos.
  • Loading branch information
weaverryan committed Jul 2, 2014
2 parents b67a059 + 5402121 commit d882cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reference/forms/types/options/pattern.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ pattern
This adds an HTML5 ``pattern`` attribute to restrict the field input by a
given regular expression.

.. caution:
.. caution::

The ``pattern`` attribute provides client-side validation for convenience
purposes only and must not be used as a replacement for reliable
server-side validation.

.. note:
.. note::

When using validation constraints, this option is set automatically
for some constraints to match the server-side validation.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ This is the validation error message that's used if submitted POST form data
exceeds ``php.ini``'s ``post_max_size`` directive. The ``{{ max }}``
placeholder can be used to display the allowed size.

.. note:
.. note::

Validating the ``post_max_size`` only happens on the root form.

0 comments on commit d882cc0

Please sign in to comment.