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 676415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:55:30+00:00 2026-05-14T00:55:30+00:00

I am designing a creation wizard in ASP.NET MVC 1 and instead of posting

  • 0

I am designing a creation wizard in ASP.NET MVC 1 and instead of posting back each step, I’m using javascript to toggle the display of the different steps divs.

This is a quick sample of the code, just to explain.

<% using (Html.BeginForm())
   {%>
<fieldset>
<legend>Fields</legend>
<div id="wizardStep1">
    <% Html.RenderPartial("CreateStep1", Model); %>
</div>
<div id="wizardStep2">
    <% Html.RenderPartial("CreateStep2", Model); %>
</div>
<div id="wizardStep3">
    <% Html.RenderPartial("CreateStep3", Model); %>
</div>
</fieldset>
<% } %>

I have javascript that just toggles the visibility of the divs, with each partial view containing a different section of the input form (which is pretty large by itself)

My question is, if the form fails validation and I reload the page with the validation errors, is there a way for me to determine which div contains the error? Either in javascript or other?

Failing that, is there a good client-side validation library for MVC 1?

Ideally I’d love to move to MVC2 and the client side validation built into that, but I am required to use MVC1

  • 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-05-14T00:55:31+00:00Added an answer on May 14, 2026 at 12:55 am

    xVal is a good client-side validation framework and is flexible, so you might look into that one to see if it will help do what you need.

    xVal

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

Sidebar

Related Questions

Designing a web application with ASP.NET MVC I asked myself how can I also
I'm designing a template creation tool, which uses a jQuery Ajax request that posts
Trying to run the Blocking Queue example given here . Using the .NET Queue
I am using the following code in my website, for thumbnail creation: string furl
Im designing a dialerPad form using Windows form, there is a textbox which should
Designing a new system from scratch. I'll be using the STL to store lists
Designing a generative music system for iOS, using OpenFrameworks, I'd need to provide a
Designing forms has always been fun, but getting them to send email on the
When designing a C API for configuring a library/utility, I have a co-worker who
Im designing a website, and often I need to present information in a nice

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.