Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (12 sloc) 0.71 kb

Check if the content of the input field is an e-mail address.

For example:

<input type="text" id="email" name="email" value="" />
{% validate id="email" type={email} %}


Argument Description Example
failure_message Message to show when the entered value is not an e-mail address. Defaults to "Incorrect E-mail" failure_message="Please enter your e-mail address."
Jump to Line
Something went wrong with that request. Please try again.