Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
clientside_validation
Commits
4e3572e3
Commit
4e3572e3
authored
Mar 26, 2012
by
Jelle Sebreghts
Browse files
Issue #1468868 by saidatom: Added WEBFORM Validation DATA and select.
parent
4915d131
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside_validation_webform/clientside_validation_webform.module
View file @
4e3572e3
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment