Skip to content

Entries: Add note about validation behavior change to email method #47

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
Aug 7, 2018
Merged
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
3 changes: 2 additions & 1 deletion entries/email-method.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<longdesc>
Return true if the value is a valid email address.
<p>Works with text inputs.</p>
<p>In case you need a custom email pattern use the <a href="/jQuery.validator.methods/">$.validator.methods property</a>.</p>
<p><strong>IMPORTANT NOTE:</strong></p>
<p style="font-style: italic;"><strong>As of version <code>1.12.0</code> we started using the same regular expression that the <a href="https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address">HTML5 specification suggests for browsers to use</a>. We will follow their lead and use the same check. In case you need to adjust the built-in validation regular expression patterns, please use the <a href="/jQuery.validator.methods/">$.validator.methods property</a>. If you have different requirements, please consider <a href="/jQuery.validator.addMethod/">using a custom method</a>.</strong></p>
</longdesc>
<example>
<desc>Makes "field" required and an email address.</desc>
Expand Down