Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7718551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:11:36+00:00 2026-06-01T03:11:36+00:00

I am trying to build a registration form. I have a model for all

  • 0

I am trying to build a registration form. I have a model for all of the data for the users, but the problem is i want the form to be i “steps”. So you fill out two parameters, and goes to the next step.

Now i’ve tried the approach to return the model in every step, and putting the earlier filled in data in hidden fields in the form, but that causes the non filled out forms to “trigger” the validation since i returned a model where only the previously filled out data is available. That is not very nice, so what would be the best approach of doing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:11:37+00:00Added an answer on June 1, 2026 at 3:11 am

    As a quick solution for a small application, you could always store the model in the Session (or TempData) object:

    MyModel model = new MyModel();
    
    // Store to session
    Session["myModel"] = model;
    
    // Retrieve from session (you'll want to check for null objects)
    var model = Session["myModel"] as MyModel;
    

    For larger applications (and depending on your business rules) I’d recommend persisting the values to a data store on the completion of each form.

    Note, there are trade-offs with either approach that you will need to weigh depending on your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a std::vector< tr1::shared_ptr<mapObject> > that I'm trying build from data contained in
I have built a simple registration form shown below and Iam trying to get
I'm trying to build a simple controller for a registration form as seen on
I'm trying to write a catch-all route in Rails 3, but I want to
I'm trying build a MVC framework, but I'm confused about manage themes. Well... I
I am trying to build custom django form for changing username and user email
As part of a web app i am trying to build a registration process.
im trying to build a application or a method that goes through all of
i am trying to make a custom login form in drupal-6.22 using Email Registration
Trying to build up a query to filter on data in the following manner

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.