Skip to content

Instantly share code, notes, and snippets.

@leedohyung-dba
Last active September 6, 2016 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leedohyung-dba/932c56e874e28b6df7fe68e1330ef83c to your computer and use it in GitHub Desktop.
Save leedohyung-dba/932c56e874e28b6df7fe68e1330ef83c to your computer and use it in GitHub Desktop.
[JavaScript]HTML5 Form Validation ref: http://qiita.com/leedohyung-dba/items/ffa06bbb4f3da64a8086
<input type="text" pattern="/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/" name="textMail">
<input type="email" class="test" required>
<form novalidate>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment