Feature proposal #1991
closed
- 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.
- 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.
- 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.
- 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".
- Priority changed from High to Normal
- Target version changed from CB 1.7 to CB 1.4.0
To be reviewed, maybe we can skeeze it into 1.4 ?
- 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.
- % 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.
r1370 adds a new parameter in text fields for minimum text-size value
- 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;
}
r1405 fixes html editor validations.
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;
}
Also available in: Atom
PDF