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

  • Home
  • SEARCH
  • 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 659393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:02:22+00:00 2026-05-13T23:02:22+00:00

I have an application which has a Projects table and a Users table. In

  • 0

I have an application which has a Projects table and a Users table. In my Create New Project form I have a required field for Project Manager. However, the User record for Project Manager may not exist yet. Project Manager is a required field.

Up to now I have been developing the application on a “one screen, one record” basis, but this scenario would require that the user create the user record first (since Project Manager is a required field), then create the project record and assign the new user as a project manager.

Intuitively, a user would expect the project to be created first, but this would require three steps (Project Creation, User Creation, Assign User as Project Manager), and they would have to be locked together, since Project Manager is a required field, and the application would still have to be smart enough to use an existing User record, if available.

What is the strategy you would use? Would you put everything on one form Including the optional new user) and push a complicated ViewModel to the controller method, or would you employ a multi-step form strategy, or would you do something else? I have considered things like a New User popup form on the New Project form, but that feels a little too clever, and not RESTful enough.

  • 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-13T23:02:22+00:00Added an answer on May 13, 2026 at 11:02 pm

    In this case, I think it’s reasonable to include a “Create New User” selection in the Project Manager dropdown on the New Project form. If this is selected, the user is presented with the New User form and can add the Project Manager record at the same time as the Project.

    If your Views and ViewModels are well isolated, you could load the New User Form as a partial into the New Project form using AJAX. This way you can keep your Views, Models and ViewModels self-contained while still offering a good user experience.

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

Sidebar

Ask A Question

Stats

  • Questions 443k
  • Answers 443k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Right, so I've come to a conclusion, I'm pretty sure… May 15, 2026 at 6:15 pm
  • Editorial Team
    Editorial Team added an answer voidness, It is working for me by implementing this code.… May 15, 2026 at 6:15 pm
  • Editorial Team
    Editorial Team added an answer Check out: SQL SERVER – Introduction to CLR – Simple… May 15, 2026 at 6:15 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.