rendering front-end of survey into an MVC app

Posted by HotKey on Stack Overflow See other posts from Stack Overflow or by HotKey
Published on 2012-03-27T17:25:35Z Indexed on 2012/03/27 17:30 UTC
Read the original article Hit count: 245

Filed under:
|
|
|

Lately I have been watching Pluralsight intro videos on MVC 3. I have never worked with the Model View Control approach before, but I'm starting to understand how these 3 crucial parts of an app are separated.

I created a front-end prototype of a survey I would like to implement into a View of my MVC web app. The survey is in HTML, CSS, using jQuery to deliver content changes depending on the type of evaluation (6-11 questions), and jQuery UI for a couple slider ratings.

I noticed through tutorials that you can use an HTML form and helpers that allow the user to edit content, but my prototype already allows the users to rate via radio buttons, comment text boxes, and sliders. Would I need to change any of my existing code if I just want to store this employee data to the Model, and depending on what survey's the employee has completed through the Controller, disable drop down fields?

Also, would I store the current employee data on submit of survey through an HttpPost in the Controller to the Model?

My apologies if my questions seem rather vague. Could someone point me in the right direction to a resource or documentation similar to my needs above? The Pluralsight videos are taking me in the wrong direction.

© Stack Overflow or respective owner

Related posts about html

Related posts about asp.net-mvc