I am using a hidden field in my view which is saving some value of active tab index
Now I want the value of hidden field in my controller
I m using a submit button to submit.
public ActionResult Index(FormCollection frm)
{ var value = frm["HiddenName"];
}
I m submitting form and using FormCollection to fetch values
but when It comes to find value of hidden field I always gives me blank value, I have checked using page source code It has some value in it
Does the input tag have a name attribute and is it located within the form?