Ticket #388 (new enhancement)
Opened 3 years ago
Allow successful validation to set a message
| Reported by: | karel | Owned by: | mpo |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5 |
| Component: | modules/kauri-forms | Version: | |
| Keywords: | Cc: |
Description
Currently, only notifyFail() accepts messages.
It makes perfect sense to let notifySuccess() accept messages as well,
e.g. a password field validator -> "password strength: {strength}/10" where strength is a strength indication.
The validator could then be configured with a minimal strength, determining when to use notifyFail(msg) and when notifySuccess(msg)
Note: See
TracTickets for help on using
tickets.