asp.net mvc 2 - Getting post values of dynamically generated content -


I have a form generator, what I want to do is take the form list of questions, dynamically generate them on the page , Then retrieve the answer is easy to generate question, but how do I get those answers? I do not think how strongly I can write a scene, but is there a way to manually grab post values ​​if I know the name of the input field?

Access the form values ​​directly in your controller:

  Var value = request.form ["inputname"];  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -