User-554427789 posted
Problem: If there is a nested form within the MVC view content page, then it will only
post the outermost form only.
For example: I have a login form as such:
<form action="/Security/Authenticate" method="post">
<input id="userName" name="userName" type="text"/>
<input id="password" name="password" type="password"/>
<input type="submit" value="submit"/>
</form>
but it will always post to the Index method of the SecurityController class instead of the authenticate method.
Temporary solution: I have put a </form> before the start of the new <form> tag to make it work.
This will also work if an MVC View Page is used instead.
Hope it helps.