I have a text field which is validated whenever it loses focus. I want to be able to indicate that the value invalid during input so the user has the opportunity to correct their mistake before explicitly moving focus away from the box and triggering validation.
I have seen various implementations, including placing a red border round the field, a little icon that comes up for invalid input, or a bit of warning text.
What is the best way to do this in a way that complies with the conventions of Cocoa and the Apple Human Interface Guidelines?
Set its background to light red. This is what Adium does when you go over the message length limit in a Twitter tab.
The specific color Adium uses is:
as a calibrated (Generic RGB) color.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With