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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:13:19+00:00 2026-05-25T16:13:19+00:00

I want to have a form which has a simple 2 step process: (If

  • 0

I want to have a form which has a simple 2 step process:

(If a person on has one school assigned to them then skip straight to step 2)

Step 1 – Select a school from a drop-down list

Step 2 – Enter the required data from a data-entry form. Certain fields are disabled based on which school was selected.

I have had a look at the various methods for creating ‘wizards’ and at using partial Views. What is the best way to handle this? I was wondering if using AJAX is worthwhile considering or just having a two step process in the form.

James 🙂

  • 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-25T16:13:20+00:00Added an answer on May 25, 2026 at 4:13 pm

    You should absolutely do this via ajax so your options are either

    1. use small partial views. your view logic determines what to disable/enable

    2. (probably easier and more lightweight) use json to get a list of property names to disable.Then you can simply disable them via jQuery ideally by iterating through each item with the .each() call.
      See: looping through JSON array in a jQuery list
      for a use of the each call.
      got jQuery getJson, see: http://api.jquery.com/jQuery.getJSON/

    so:
    1. getJson to get the results from a controller
    2. enumerate using .each() and set the property

     $("#" + yourFieldName).attr("disabled","disabled");
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form which has one field username . If some one submit
I want to globalize my application. I have created a small form which asks
I have a cgi script which takes form input, I want to facilitate the
I have a simple MVC form with the following elements: <%= Html.TextBox(FechaInicio) %> Which
I have a form which at some point in its life has three choices.
I have simple web application (asp.net - ajax) I have a web form which
I have a pretty big data entry form which has many text fields ,
I have a form element that I want to address via javascript, but it
I have a form with a <textarea> and I want to capture any line
Say you have a web form with some fields that you want to validate

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.