Commit 4e3572e3 authored by Jelle Sebreghts's avatar Jelle Sebreghts
Browse files

Issue #1468868 by saidatom: Added WEBFORM Validation DATA and select.

parent 4915d131
......@@ -64,7 +64,7 @@ function clientside_validation_webform_after_build_recurse($form_id, &$form, &$f
}
elseif ($element['#type'] == 'checkboxes') {
$id = '#' . $element['#id'];
_clientside_validation_set_checkboxgroup_minmax($element['#name'], $element['#title'], $id, $js_rules, intval($element['#required']));
_clientside_validation_set_checkboxgroup_minmax($element['#name'], $element['#title'], $id, $js_rules, '', intval($element['#required']));
}
elseif ($element['#type'] == 'select' && $element['#multiple']) {
_clientside_validation_set_required($element['#name'] . '[]', $element['#title'], $element['#required'], $js_rules);
......
Supports Markdown
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