i have a MVC 5 application, in the footer i have a "subscribe to newsletter" form, the problem is that when i try to sumbit another form (register user, ...), the form in the footer is also submitted, how can i resolve the problem,
<form id="newsletter-signup" action="@Url.Action("_SubscribeNewsletter", "Home")" method="post">
[HttpPost]
public ActionResult _SubscribeNewsletter(SubscribeNewsletterViewModel model)
{
@using (Html.BeginForm("Create", "Property", null, FormMethod.Post, new { @encType = "multipart/form-data", @id = "my-awesome-dropzone", @class = "add-estate", role = "form" }))
{
Thanks
$("#newsletter-signup").submit()without affecting the other forms...