Multiple forms with same input names on one page

Stefan Bauer explains how to handle error message when you have multiple forms on one page

Here’s another tip! Even if it’s documented here I just wanted to show it. Here’s the deal: Imagine you have multiple forms one page. For example one contact form and another newsletter signup form. Both of them might have an email field. So who do you know which email field doesn’t validate and throws an error?

Source: Freek Van der Herten