Model hints


I think it would be valuable to have hints added to form and data model’s atributes, in the way “errors” are currently added. I have a case for this:

The application has a subcription form, where a desired username is asked. Let’s say the user enters “littlejohn”. There’s an AJAX validation which checks (it could be on type or on change) if the desired username is available, and if it is not, an error is displayed using $this->addError(). But it could be helpful to suggest an available username, for instance “Suggested login: littlejohn76”, based in some algorithm. This obviously would be in a different style than the error message.