I am writing some code where I would like render a MVC BeginForm but to also include additional HTML.
For eg.
@using (Html.BeginMyCustomForm()) {
}
And this spits out
<form action="" etc>
PLUS
<input type="hidden" name="my-additional-field-i-always-want">
@Html.ValidationMessageFor(m => m)
Is this possible?
I know I'll be looking at some kind of extension or something most likely.
Hope this makes sense and thanks in advance!