Project

General

Profile

Actions

Feature proposal #1991

closed

New modern JS validations needed, inclusive for username and password length

Added by krileon about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 September 2010
Due date:
% Done:

100%

Estimated time:
15:00 h

Description

When selecting different minimum lengths for username or password the parameter is not taken into account when the JS validation is added. Proposing removal of JS validation or upgraded to ensure the parameter set is used.

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,114/id,142238/#142238

Actions #1

Updated by krileon about 14 years ago

  • Target version set to CB 1.3
  • % Done changed from 0 to 20

backend validation appears resolved with CB 1.3, but frontend still not functional.

Actions #2

Updated by krileon about 14 years ago

  • Status changed from New to Feedback
  • Assignee set to beat
  • Priority changed from Normal to High

Backend validation is requiring a page refresh then the JS error triggers instead of just displaying without refreshing. Attempting to port same usage to frontend results in same issue.

Actions #3

Updated by beat about 14 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from CB 1.3 to CB 1.7
  • % Done changed from 20 to 100

Will be fixed in CB 2.0 with new JS validations.

Actions #4

Updated by beat almost 14 years ago

  • Tracker changed from Bug to Feature proposal
  • Subject changed from username and password length JS validation not functioning to New modern JS validations needed, inclusive for username and password length

This is now fixed for CB 2.0 with the new feature, so changing this issue to "new feature".

Actions #5

Updated by beat almost 14 years ago

  • Priority changed from High to Normal
Actions #6

Updated by beat almost 14 years ago

  • Target version changed from CB 1.7 to CB 1.4.0

To be reviewed, maybe we can skeeze it into 1.4 ?

Actions #7

Updated by beat almost 14 years ago

  • Status changed from Resolved to Assigned
  • % Done changed from 100 to 80
  • Estimated time set to 10:00 h

r1361 adds that feature.

Still improvements to be made in user edit mode.

Actions #8

Updated by beat almost 14 years ago

  • % Done changed from 80 to 90
  • Estimated time changed from 10:00 h to 15:00 h

r1368 Added many more finesses in the validations:

- Tab tips highlighted in red and auto-selected on error on submit
- More precise error messages (translatable)

CSS files follow.

Actions #9

Updated by beat almost 14 years ago

r1370 adds a new parameter in text fields for minimum text-size value

Actions #10

Updated by beat almost 14 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 90 to 100

r1372 adds the CSS classes: EDIT: WAS WRONG:


/* NewG Validations for CB 2.0: */
.cbValidationError input[type="text"], .cbValidationError input[type="password"], .cbValidationError input[type="file"], .cbValidationError input[type="image"], .cbValidationError textarea, .cbValidationError select {
    border-color: red !important;
}
.cbValidationError input[type="radio"], .cbValidationError input[type="checkbox"] {
    color: red !important;
}
.cbValidationError .titleCell, .cbValidationError label, h2.cbValidationErrorTabTip a {
    color: red !important;
}
Actions #11

Updated by beat almost 14 years ago

r1405 fixes html editor validations.

Actions #12

Updated by beat almost 14 years ago

also it was highlighting selects in editors! :

r1406 fixes the corresponding CSS classes in CB templates as follows:

/* NewG Validations for CB 2.0: */
.cbValidationError input[type="text"], .cbValidationError input[type="password"], .cbValidationError input[type="file"], .cbValidationError input[type="image"], .cbValidationError textarea, .cbValidationError select {
border-color: red !important;
}
.cbValidationError input[type="radio"], .cbValidationError input[type="checkbox"] {
color: red !important;
}
.cbValidationError .titleCell, .cbValidationError label, h2.cbValidationErrorTabTip a {
color: red !important;
}

Actions

Also available in: Atom PDF