Incorrect client-side validation when multiple forms on a page

Created on 28 August 2023, 10 months ago

Problem/Motivation

If there are multiple forms on the page, "jquery validate" validates only the first form.

Steps to reproduce

1. Include multiple forms on the page
2. Try to submit the second form
3. The first form is always validated

Proposed resolution

There is an incorrect usage of Drupal behaviors and jQuery validate plugin.
Moreover, the module conflicts with Clientside Validation module in assigning validation function.
We need to properly implement Drupal behaviors.

Remaining tasks

No

User interface changes

No

API changes

No

Data model changes

No

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia lexbritvin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024