File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -130,17 +130,17 @@ Parameter Description
130
130
131
131
**type **: ``string `` **default **: (see below)
132
132
133
- This option is optional and defines the pattern used to validate the email
133
+ This option defines the pattern used to validate the email
134
134
address. Valid values are:
135
135
136
- * ``loose ``, it uses a simple regular expression to validate the address (it
136
+ * ``loose `` uses a simple regular expression (just
137
137
checks that at least one ``@ `` character is present, etc.). This validation is
138
- too simple and it's recommended to use one of the other modes instead;
139
- * ``html5 ``, it validates email addresses using the same regular expression
138
+ very simple and it's recommended to use one of the other modes instead;
139
+ * ``html5 `` uses the same regular expression
140
140
as the `HTML5 email input element `_, making the backend validation consistent
141
141
with the one provided by browsers;
142
- * ``strict ``, it uses the `egulias/email-validator `_ library (which you must
143
- install separately) to validate the addresses according to the `RFC 5322 `_.
142
+ * ``strict `` uses the `egulias/email-validator `_ library (which you must
143
+ install separately) for validation according to `RFC 5322 `_.
144
144
145
145
The default value used by this option is set in the
146
146
:ref: `framework.validation.email_validation_mode <reference-validation-email_validation_mode >`
You can’t perform that action at this time.
0 commit comments