Commit de985141 authored by DuaelFr's avatar DuaelFr Committed by jelles
Browse files

Issue #2316919 by DuaelFr: Fixed Email validation does not work at all.

parent ed71543c
......@@ -15,7 +15,7 @@ function clientside_validation_email_ctools_plugin_directory($module, $plugin) {
function clientside_validation_email_field_widget_form_alter(&$element, &$form_state, $context) {
switch ($context['field']['type']) {
case 'email':
$element['value']['#clientside_validation_type'] = 'email';
$element['email']['#clientside_validation_type'] = 'email';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment