@using (html.beginform()) give form an id code example
Example: html.beginform with form id
<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>
<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>