Topic: Error Highlighting Multiple Fields with Same Name

I have a form with required fields that have the same name but are associated with different models. Problem is if I do not fill in one of them and submit the form, both of them becomes highlighted in red. What I want is to only highlight the field that is not filled in. Can anybody suggest a fix for this? Thank you!!!!