One page with two forms

One page with two forms

In my site i am using zoho code. I have a form in sidebar which is working fine.But I want another form which will use same code and coming in popup by clicking three links on the site.

But when i click on the popup link the form is coming but on validation it is not going forward it is repeatedly saying me that "The name field can not be empty?"

This is because i have two forms on the page and both have same "name" field, when i fill the popup field form it is catching the sidebar field as empty so it is repeatedly giving me the same error of empty field.


Please help me and suggest me how i can use same form for two forms on the same page.