How can I use my custom validator to "mark" the wrong form element?
I don't find any details about this.
For example in case a user entered a wrong formatted "string" to my app the validator will fail and should redirect user back, show an error message AND the form should be highlighted, using bootstrap.
This is what I have done in the past, but it's ugly and takes a while to grok when you come back to the view a few months later. Will be interested to see if there is a more elegant way