Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 19 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."
Something went wrong with that request. Please try again.