form-group validation class with multiple fields
Created by: janhartmann
I have a form-group with three fields in. These fields are being validated on submit.
Problem here is that the form-group either should have a "has-success" or "has-error" class. But when the first two fields are not valid, and the last one is, the form-group gets the "has-success" class hightighting that all fields are valid, but they are actually not.
Wouldnt it be better if the form-group should have global state (has-success or has-error) and each field has a class as well for hightighting what field in the from-group is success/error?
Jan