Skip to content

fix typos. #3988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.