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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:51:11+00:00 2026-05-22T19:51:11+00:00

I am developing a website which needs to contain functionality in which the user

  • 0

I am developing a website which needs to contain functionality in which the user has to enter multiple pieces of data that end up being one large document. Imagine that I am designing a system for resume generation, where a resume is like 5+ pages long. The user logs into the site and then has to enter in all the information his/her resume would contain, and at the end of the process there is a “generate” button, in which the user gets a link to a PDF.

Instead of using one huge form, I setup the system in three parts, kinda like this

www.mysite.com/user-name/resume/1

<FORM> enter some info </FORM>

www.mysite.com/user-name/resume/2

<FORM> enter some more info </FORM>

www.mysite.com/user-name/resume/3

enter final information

Finally, you would get redirected to

http://www.mysite.com/user-name/mypdf

which has the link to the pdf (or displays the pdf)

I am storing all my information in MongoDB because it is so awesome, but given this system, I have the following questions about design.

1) Since the resume data gets saved in the form of 3 different form posts, I need to call save three different times to MongoDB (is there another way?). Right now, the best way I can think of to correlate all of the pieces of the resume is by inserting a UUID into the session between posts and saving this UUID with every piece of the resume in the database. That way, when it is time to generate, I just query the DB for

db.resumes.find({‘docid’ : uuid’}) and I can get all the pieces, and construct the resume

Question: Is saving this UUID in the session the best way to resolve this issue when you have multiple pieces of correlated data coming in different form posts. If more clarification is needed I understand.

I have no clue where to do the redirects because I am using ajax. I am used to handling re-directs in Django views, but I am not using Django Forms or Models for this system. My question is, how do I handle the following redirects:

http://www.mysite.com/user-name/resume/1 -> http://www.mysite.com/user-name/resume/2 -> http://www.mysite.com/user-name/resume/3 -> http://www.mysite.com/user-name/mypdf

Currently, I make sure all of the post data is correct, send it to the server via ajax, and if I was able to successful save this data to MongoDB, I use this:

$(location).attr(‘href’,”www.mysite.com/user-name/resume/1/”);

I KNOW this is the wrong way to handle the redirects, because it just appends to the current URL (But it works, so…). As far as I can tell, I the redirect needs to be done client side, but I am not sure what the best way to do this is.

Thanks

  • 1 1 Answer
  • 4 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-22T19:51:12+00:00Added an answer on May 22, 2026 at 7:51 pm

    If you already use jquery then I would recommend to have only one form with all fields and use a plugin to split it into multiple sub-forms. I use stepy for that. Or you can implement the similar functionality yourself.

    Having only one form you can use a regular POST request to send the data to the server and get the redirect response.

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

Sidebar

Related Questions

I am developing a website that relies much on XML data. The web site
I'm developing a website which will be used in the corporate intranet which uses
I'm developing a website which to begin with will have three clear sub sites:
I'm developing a new ASP .NET website which is effectively a subset of the
I'm developing a website (in Django) that uses OpenID to authenticate users. As I'm
Developing a website and just trying to get back into the swing of (clever)
I'm considering developing a website similar to stackoverflow, but the answers may also consist
I’m developing a website of a client and they are sending out newsletters to
I'm developing a website. I'm using a single-page web-app style, so all of the
I am developing a website and for the main navigation, I was thinking it

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.