Nov 09, 2017 02:21 PM|mgebhard|LINK
of the technology selected.
Let's say you have a questionnaire with 10 questions.
One option is creating a single form with all 10 questions and a submit button. All 10 questions are processed when the user clicks submit.
Another approach is creating 10 forms each with a single question. Each question is processed by a full post with logic on the server to select the next/previous question.
Yet another approach is rendering a single page and injecting the questions in the DOM and submitting data using AJAX.
Each approach has challenges but the decision to use one over the other depends on the UI requirements. Do you want the questionnaire to behave like a desktop application? If so, go with AJAX or a client side technology like React or Angular. Otherwise
use a full postback.
Edit: given your latest post and form example, The form's design is more suitable for a full post with a single submit button. If you want more of a desktop feel, you'll need to change the UI design as there is no way to determine when a user has finished
a question. You need a button or some kind of UI element that says I made a selection.