Project

General

Profile

Actions

Bug #5288

closed

cbValidate looking for inputs outside it self

Bug #5288: cbValidate looking for inputs outside it self

Added by krileon almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
High
Assignee:
Target version:
-
Start date:
22 May 2015
Due date:
% Done:

100%

Estimated time:

Description

When using cbValidate and trying to match 1 inputs value to another it's looking for the other input outside of it self. It should only match against children of the cbValidate element to avoid this conflict.

https://www.joomlapolis.com/forum/153-professional-member-support/229830-please-enter-the-same-value-again#264639

Updated by krileon almost 11 years ago Actions #1

Example is Joomla registration form in a module on the CB registration form causes the password input to fail to match CBs as Joomlas is rendered first in the DOM.

Updated by krileon almost 11 years ago Actions #2

  • Status changed from Assigned to Rejected
  • Target version deleted (CB 2.0.9)
  • % Done changed from 0 to 100

Not possible to fix as the validation rules don't have a scope. So unreliable parent selectors would have to be used. This is really only an issue for broken pages that have 2 inputs with the same ID, which shouldn't happen.

Actions

Also available in: PDF Atom