Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
clientside_validation
Commits
73b2b696
Commit
73b2b696
authored
Jul 04, 2013
by
plamen
Committed by
Jelle
Jul 04, 2013
Browse files
Issue #1902336 by pivanov | Ronino: Fixed Fields with the same name in different forms merge rules.
parent
0c02ea09
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside_validation.module
View file @
73b2b696
...
...
@@ -277,7 +277,7 @@ function clientside_validation_form_alter(&$form, &$form_state, $form_id) {
* Webform.
*/
function
clientside_validation_webform_after_build
(
&
$form
,
&
$form_state
)
{
static
$js_rules
=
array
();
$js_rules
=
array
();
clientside_validation_settings_current_form
(
$form
[
'#clientside_validation_settings'
]);
drupal_alter
(
"clientside_validation_webform"
,
$form
,
$form_state
,
$js_rules
);
if
(
!
empty
(
$js_rules
))
{
...
...
@@ -388,7 +388,7 @@ function _clientside_validation_add_special_rules(&$js_rules, &$settings, $form)
* Regular form.
*/
function
clientside_validation_form_after_build
(
&
$form
,
&
$form_state
)
{
static
$js_rules
=
array
();
$js_rules
=
array
();
clientside_validation_settings_current_form
(
$form
[
'#clientside_validation_settings'
]);
drupal_alter
(
"clientside_validation_form"
,
$form
,
$form_state
,
$js_rules
);
if
(
!
empty
(
$js_rules
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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